> home > Custom Layer Boundary API

text_layout_free

January 19th 2020
Release the resources associated with a text layout object

Signature

C++
b32
text_layout_free(Application_Links* app,
                 Text_Layout_ID text_layout_id);

Parameters

app

the standard custom layer context pointer

text_layout_id

the id of the text layout object

Return

non-zero on success, when the text layout object exists, otherwise zero