VKVG  
Vulkan Vector Graphics
Loading...
Searching...
No Matches

◆ vkvg_text_extents()

void vkvg_text_extents ( VkvgContext  ctx,
const char *  utf8,
vkvg_text_extents_t *  extents 
)

Gets the extents for a string of text as drawn with the active font of the provided context.

Parameters
ctxa valid vkvg Context
utf8A null-terminated utf8 encoded string of text.
extents