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

Function adoptFreetypeFont

MyGUIEngine/src/msdfgen/ext/import-font.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137FontHandle *adoptFreetypeFont(FT_Face ftFace) {
138 FontHandle *handle = new FontHandle;
139 handle->face = ftFace;
140 handle->ownership = false;
141 return handle;
142}
143
144FT_Error readFreetypeOutline(Shape &output, FT_Outline *outline, double scale) {
145 output.contours.clear();

Callers 1

initialiseFreeTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected