VKVG  
Vulkan Vector Graphics
Loading...
Searching...
No Matches
Typedefs | Functions
vkvg-svg.h File Reference

Go to the source code of this file.

Typedefs

typedef struct NSVGimage * VkvgSvg
 

Functions

VkvgSurface vkvg_surface_create_from_svg (VkvgDevice dev, uint32_t width, uint32_t height, const char *svgFilePath)
 load svg file into Surface
 
VkvgSurface vkvg_surface_create_from_svg_fragment (VkvgDevice dev, uint32_t width, uint32_t height, char *svgFragment)
 create surface from svg fragment
 
void vkvg_svg_get_dimensions (VkvgSvg svg, uint32_t *width, uint32_t *height)
 get svg dimensions.
 
VkvgSvg vkvg_svg_load (const char *svgFilePath)
 Load svg file in memory.
 
VkvgSvg vkvg_svg_load_fragment (char *svgFragment)
 Load svg from an svg source fragment.
 
void vkvg_svg_render (VkvgSvg svg, VkvgContext ctx, const char *id)
 render svg on a context.
 
void vkvg_svg_destroy (VkvgSvg svg)
 release VkvgSvg pointer resources.