ImFontGlyph
Instance Members
colored: UIntFlag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on little-endian as this is used in loops)
visible: UIntFlag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering.
sourceIdx: UIntIndex of source in parent font
codepoint: UInt0x0000..0x10FFFF
advanceX: cpp.Float32Horizontal distance to advance cursor/layout position.
x0: cpp.Float32Glyph corners. Offsets from current cursor/layout position.
y0: cpp.Float32Glyph corners. Offsets from current cursor/layout position.
x1: cpp.Float32Glyph corners. Offsets from current cursor/layout position.
y1: cpp.Float32Glyph corners. Offsets from current cursor/layout position.
u0: cpp.Float32Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.
v0: cpp.Float32Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.
u1: cpp.Float32Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.
v1: cpp.Float32Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.
packId: Int[Internal] ImFontAtlasRectId value (FIXME: Cold data, could be moved elsewhere?)
Metadata
| Name | Parameters |
|---|---|
:structAccess |
- |
:include |
"linc_imgui.h" |