MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getFontBaseLine

Method getFontBaseLine

Engine/source/platformMac/macFont.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 /// Get some vertical data on the font at large. Useful for drawing multiline text, and sizing text boxes.
57 virtual U32 getFontHeight() const { return mHeight; }
58 virtual U32 getFontBaseLine() const { return mBaseline; }
59
60 // Draw the character to a temporary bitmap, and fill the CharInfo with various text metrics.
61 virtual PlatformFont::CharInfo &getCharInfo(const UTF16 character) const;

Callers 1

createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected