Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCanvas
Overloads
| Name |
Remarks |
Include Path |
Unreal Specifiers |
void StrLen
(
const UFont* InFont,
FStringView InText,
float& XL,
float& YL,
bool bDPIAware
)
|
Calculate the length of a string, taking text wrapping into account. |
Engine/Canvas.h |
|
void StrLen
(
const UFont* InFont,
FStringView InText,
double& XL,
double& YL,
bool bDPIAware
)
|
|
Engine/Canvas.h |
|
void StrLen
(
const UFont* InFont,
FAnsiStringView InText,
float& XL,
float& YL,
bool bDPIAware
)
|
|
Engine/Canvas.h |
|
void StrLen
(
const UFont* InFont,
FAnsiStringView InText,
double& XL,
double& YL,
bool bDPIAware
)
|
|
Engine/Canvas.h |
|
static void StrLen
(
const UFont* InFont,
FStringView InText,
float& XL,
float& YL,
bool bDPIAware,
FCanvas* InCanvas
)
|
Calculate the length of a string, taking text wrapping into account. |
Engine/Canvas.h |
|
static void StrLen
(
const UFont* InFont,
FStringView InText,
double& XL,
double& YL,
bool bDPIAware,
FCanvas* InCanvas
)
|
|
Engine/Canvas.h |
|
static void StrLen
(
const UFont* InFont,
FAnsiStringView InText,
float& XL,
float& YL,
bool bDPIAware,
FCanvas* InCanvas
)
|
|
Engine/Canvas.h |
|
static void StrLen
(
const UFont* InFont,
FAnsiStringView InText,
double& XL,
double& YL,
bool bDPIAware,
FCanvas* InCanvas
)
|
|
Engine/Canvas.h |
|
StrLen(const UFont *, FStringView, float &, float &, bool)
Description
Calculate the length of a string, taking text wrapping into account.
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void StrLen
(
const UFont * InFont,
FStringView InText,
float & XL,
float & YL,
bool bDPIAware
)
Parameters
| Name |
Remarks |
| InFont |
The Font use. |
| InText |
The string to calculate for. |
| XL |
out Horizontal length of string. |
| YL |
out Vertical length of string. |
| bDPIAware |
If true measures text considering the current DPI scale factor of the canvas. Defaults to false for backwards compatibility |
StrLen(const UFont *, FStringView, double &, double &, bool)
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void StrLen
(
const UFont * InFont,
FStringView InText,
double & XL,
double & YL,
bool bDPIAware
)
StrLen(const UFont *, FAnsiStringView, float &, float &, bool)
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void StrLen
(
const UFont * InFont,
FAnsiStringView InText,
float & XL,
float & YL,
bool bDPIAware
)
StrLen(const UFont *, FAnsiStringView, double &, double &, bool)
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void StrLen
(
const UFont * InFont,
FAnsiStringView InText,
double & XL,
double & YL,
bool bDPIAware
)
StrLen(const UFont , FStringView, float &, float &, bool, FCanvas )
Description
Calculate the length of a string, taking text wrapping into account.
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
static void StrLen
(
const UFont * InFont,
FStringView InText,
float & XL,
float & YL,
bool bDPIAware,
FCanvas * InCanvas
)
Parameters
| Name |
Remarks |
| InFont |
The Font use. |
| InText |
The string to calculate for. |
| XL |
out Horizontal length of string. |
| YL |
out Vertical length of string. |
| bDPIAware |
If true measures text considering the current DPI scale factor of the canvas. Defaults to false for backwards compatibility |
| InCanvas |
Canvas state object |
StrLen(const UFont , FStringView, double &, double &, bool, FCanvas )
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
static void StrLen
(
const UFont * InFont,
FStringView InText,
double & XL,
double & YL,
bool bDPIAware,
FCanvas * InCanvas
)
StrLen(const UFont , FAnsiStringView, float &, float &, bool, FCanvas )
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
static void StrLen
(
const UFont * InFont,
FAnsiStringView InText,
float & XL,
float & YL,
bool bDPIAware,
FCanvas * InCanvas
)
StrLen(const UFont , FAnsiStringView, double &, double &, bool, FCanvas )
| |
|
| Name |
StrLen |
| Type |
function |
| Header File |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
| Include Path |
#include "Engine/Canvas.h" |
| Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
static void StrLen
(
const UFont * InFont,
FAnsiStringView InText,
double & XL,
double & YL,
bool bDPIAware,
FCanvas * InCanvas
)