MCPcopy Create free account
hub / github.com/MyGUI/mygui / GlyphInfo

Class GlyphInfo

MyGUIEngine/include/MyGUI_FontData.h:40–67  ·  view source on GitHub ↗

информация об одном символе

Source from the content-addressed store, hash-verified

38
39 // информация об одном символе
40 struct GlyphInfo
41 {
42 GlyphInfo(
43 Char _codePoint = 0U,
44 float _width = 0.0f,
45 float _height = 0.0f,
46 float _advance = 0.0f,
47 float _bearingX = 0.0f,
48 float _bearingY = 0.0f,
49 const FloatRect& _uvRect = FloatRect()) :
50 codePoint(_codePoint),
51 width(_width),
52 height(_height),
53 advance(_advance),
54 bearingX(_bearingX),
55 bearingY(_bearingY),
56 uvRect(_uvRect)
57 {
58 }
59
60 Char codePoint;
61 float width;
62 float height;
63 float advance;
64 float bearingX;
65 float bearingY;
66 FloatRect uvRect;
67 };
68
69 using VectorGlyphInfo = std::vector<GlyphInfo>;
70

Callers 2

initialiseFreeTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected