MCPcopy Create free account
hub / github.com/defold/defold / TextLayoutSkribidiFree

Function TextLayoutSkribidiFree

engine/font/src/text_layout_skribidi.cpp:207–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void TextLayoutSkribidiFree(TextLayout* layout)
208{
209 layout->m_Glyphs.SetCapacity(0);
210 layout->m_Lines.SetCapacity(0);
211 delete layout;
212}
213
214TextResult TextLayoutSkribidiCreate(HFontCollection collection,
215 uint32_t* codepoints, uint32_t num_codepoints,

Callers 1

TextLayoutSkribidiCreateFunction · 0.85

Calls 1

SetCapacityMethod · 0.45

Tested by

no test coverage detected