Searched defs:CustomRect (Results 1 – 1 of 1) 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()