MCPcopy Create free account
hub / github.com/TankOs/SFGUI / FontStruct

Class FontStruct

src/SFGUI/Engine.cpp:67–78  ·  view source on GitHub ↗

Get the font face that Laurent tries to hide from us.

Source from the content-addressed store, hash-verified

65
66 // Get the font face that Laurent tries to hide from us.
67 struct FontStruct {
68 void* library;
69 void* font_face; // Authentic SFML comment: implementation details
70 void* unused1;
71 void* unused2;
72 int* unused3;
73 std::string family;
74
75 // Since maps allocate everything non-contiguously on the heap we can use void* instead of Page here.
76 mutable std::map<unsigned int, void*> unused4;
77 mutable std::vector<std::uint8_t> unused5;
78 };
79
80 // All your font face are belong to us too.
81 void* face = reinterpret_cast<const FontStruct&>( font ).font_face;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected