Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
Include |
#include "Engine/Canvas.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
static void CanvasStringSize
(
FTextSizingParameters & Parameters,
const TCHAR * pText
)
Calculates the size of the specified string.
Parameter |
Description |
---|---|
Parameters |
Used for various purposes DrawXL: [out] will be set to the width of the string DrawYL: [out] will be set to the height of the string DrawFont: [in] specifies the font to use for retrieving the size of the characters in the string Scale: [in] specifies the amount of scaling to apply to the string |
pText |
the string to calculate the size for |