
svg_cairo_t *svgc; int width, height; svg_cairo_create (&svgc); svg_cairo_parse (svgc, "data/home.svg"); svg_cairo_get_size (svgc, &width, &height); cairo_scale (cr, 1.0/width, 1.0/height); svg_cairo_render (svgc, cr); svg_cairo_destroy (svgc);
svg_cairo_t *svgc; int width, height; svg_cairo_create (&svgc); svg_cairo_parse (svgc, "data/home.svg"); svg_cairo_get_size (svgc, &width, &height); cairo_scale (cr, 1.0/width, 1.0/height); svg_cairo_render (svgc, cr); svg_cairo_destroy (svgc);