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

◆ vkvg_font_create()

VkvgFont vkvg_font_create ( VkvgSurface  surf,
const char *  queryString,
float  pointSize 
)

If fontconfig is enable, query strings with be parsed with fontconfig textural representation engine: <families>-<point sizes>:<name1>=<values1>:<name2>=<values2>...

Parameters
surfEach font instance will be bound to a VkvgDevice which holds the font cache.
queryString
pointSizeThe font size in point unit, 1/72 of an inch.
Returns
A new VkvgFont or null if an error occured.