ImFontGlyph

imguicpp.ImFontGlyph (extern class)

Instance Members

colored: UInt

Flag 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: UInt

Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering.


sourceIdx: UInt

Index of source in parent font


codepoint: UInt

0x0000..0x10FFFF


advanceX: cpp.Float32

Horizontal distance to advance cursor/layout position.


Glyph corners. Offsets from current cursor/layout position.


Glyph corners. Offsets from current cursor/layout position.


Glyph corners. Offsets from current cursor/layout position.


Glyph corners. Offsets from current cursor/layout position.


Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.


Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.


Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling GetCustomRect() with PackId.


Texture 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"