30 typedef struct _vkvg_svg_t*
VkvgSvg;
struct _vkvg_context_t * VkvgContext
The Vkvg drawing Context.
struct _vkvg_device_t * VkvgDevice
Opaque pointer on a Vkvg device structure.
struct _vkvg_surface_t * VkvgSurface
Opaque pointer on a Vkvg Surface structure.
struct NSVGimage * VkvgSvg
void vkvg_svg_destroy(VkvgSvg svg)
release VkvgSvg pointer resources.
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_get_dimensions(VkvgSvg svg, uint32_t *width, uint32_t *height)
get svg dimensions.
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_render(VkvgSvg svg, VkvgContext ctx, const char *id)
render svg on a context.
VkvgSurface vkvg_surface_create_from_svg(VkvgDevice dev, uint32_t width, uint32_t height, const char *svgFilePath)
load svg file into Surface