vkvg_set_source_rgba(ctx,0.0,0.0,0.0,1);
for (shape = svg->shapes; shape != NULL; shape = shape->next) {
- /*if (subId != NULL) {
+ if (subId != NULL) {
if (strcmp(shape->id, subId)!=0)
continue;
- }*/
+ }
vkvg_new_path(ctx);
}
static float rotation = 0.f;
-//static const char* path = "/mnt/devel/crow-drm/Images/Icons/expandable.svg";
static const char* path = "data/tiger.svg";
void test_svg_surface() {
vkvg_scale(ctx,0.3f,0.3f);
vkvg_render_svg(ctx, svg, NULL);
+
vkvg_destroy(ctx);
nsvg_destroy(svg);