HPL3/Amnesia: Rebirth/Scripting/iFontData

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

iFontData has no public fields.

Functions

Return Type Function And Description
float GetHeight()
float GetLength(const cVector2f &in avSize, const tWString &in asString)
void GetWordWrapRows(float afLength, const cVector2f &in avSize, const tWString &in asString, array<tWString> avRows)

Details

GetHeight

float GetHeight()

Returns:

  • float

GetLength

float GetLength(const cVector2f &in avSize,
                const tWString &in asString)


Parameters

Returns:

  • float

GetWordWrapRows

void GetWordWrapRows(float afLength,
                     const cVector2f &in avSize,
                     const tWString &in asString,
                     tWString avRows)


Parameters

Returns:

  • void

References

See all references...