Searched defs:CustomRect (Results 1 – 3 of 3) sorted by relevance
2032 struct CustomRect struct2034 …/ User ID. Use <0x10000 to map into a font glyph, >=0x10000 for other/internal/custom texture data.2035 unsigned short Width, Height; // Input // Desired rectangle dimension2036 unsigned short X, Y; // Output // Packed position in Atlas2037 …t GlyphAdvanceX; // Input // For custom font glyphs only (ID<0x10000): glyph xadvance2038 … GlyphOffset; // Input // For custom font glyphs only (ID<0x10000): glyph display offset2039 …mFont* Font; // Input // For custom font glyphs only (ID<0x10000): target font2040 …CustomRect() { ID = 0xFFFFFFFF; Width = Height = 0; X = Y = 0xFFFF; GlyphAdvanceX = 0.0… in CustomRect() function2041 bool IsPacked() const { return X != 0xFFFF; } in IsPacked()
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() function2032 bool IsPacked() const { return X != 0xFFFF; } in IsPacked()
2729 typedef ImFontAtlasCustomRect CustomRect; // OBSOLETED in 1.72+ typedef