> home > Custom Layer Boundary API

draw_text_layout

January 19th 2020
Directly render a text layout object

Signature

C++
void
draw_text_layout(Application_Links* app,
                 Text_Layout_ID layout_id,
                 ARGB_Color special_color,
                 ARGB_Color ghost_color);

Parameters

app

the standard custom layer context pointer

layout_id

the id of the text layout object

special_color

the color to use for characters with the special character flag

ghost_color

the color to use for characters with the ghost character flag