Searched defs:CustomRect (Results 1 – 2 of 2) sorted by relevance
2023 struct CustomRect struct2025 …/ User ID. Use <0x10000 to map into a font glyph, >=0x10000 for other/internal/custom texture data.2026 unsigned short Width, Height; // Input // Desired rectangle dimension2027 unsigned short X, Y; // Output // Packed position in Atlas2028 …t GlyphAdvanceX; // Input // For custom font glyphs only (ID<0x10000): glyph xadvance2029 … GlyphOffset; // Input // For custom font glyphs only (ID<0x10000): glyph display offset2030 …mFont* Font; // Input // For custom font glyphs only (ID<0x10000): target font2031 …CustomRect() { ID = 0xFFFFFFFF; Width = Height = 0; X = Y = 0xFFFF; GlyphAdvanceX = 0.0… in CustomRect() argument2032 bool IsPacked() const { return X != 0xFFFF; } in IsPacked()
2729 typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ typedef