Build UV rectangle for a given uv pixel rect and imagePixelSize. Used for FontData.
View code on GitHub Namespace: DeltaEngine.DatatypesAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public static Rectangle BuildUVRectangle(
Rectangle uvInPixels,
Size imagePixelSize
)
public static Rectangle BuildUVRectangle(
Rectangle uvInPixels,
Size imagePixelSize
)
Public Shared Function BuildUVRectangle (
uvInPixels As Rectangle,
imagePixelSize As Size
) As Rectangle
Public Shared Function BuildUVRectangle (
uvInPixels As Rectangle,
imagePixelSize As Size
) As Rectangle
public:
static Rectangle BuildUVRectangle(
Rectangle uvInPixels,
Size imagePixelSize
)
public:
static Rectangle BuildUVRectangle(
Rectangle uvInPixels,
Size imagePixelSize
)
static member BuildUVRectangle :
uvInPixels : Rectangle *
imagePixelSize : Size -> Rectangle
static member BuildUVRectangle :
uvInPixels : Rectangle *
imagePixelSize : Size -> Rectangle
Return Value
Type:
Rectangle