VKVG  
Vulkan Vector Graphics
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 More...
 
VkvgSurface vkvg_surface_create_from_svg_fragment (VkvgDevice dev, uint32_t width, uint32_t height, char *svgFragment)
 create surface from svg fragment More...
 
void vkvg_svg_get_dimensions (VkvgSvg svg, uint32_t *width, uint32_t *height)
 get svg dimensions. More...
 
VkvgSvg vkvg_svg_load (const char *svgFilePath)
 Load svg file in memory. More...
 
VkvgSvg vkvg_svg_load_fragment (char *svgFragment)
 Load svg from an svg source fragment. More...
 
void vkvg_svg_render (VkvgSvg svg, VkvgContext ctx, const char *id)
 render svg on a context. More...
 
void vkvg_svg_destroy (VkvgSvg svg)
 release VkvgSvg pointer resources. More...