Get the font face that Laurent tries to hide from us.
| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected