[cairo] Where's the bottleneck in using glitz/cairo/librsvg?
Ilmari Heikkinen
kig at misfiring.net
Wed Jun 7 07:26:11 PDT 2006
ti, 2006-06-06 kello 23:25 -0400, Dominic Lachowicz kirjoitti:
> Also, if there are a finite number of zoom percentages, it might be
> worthwhile to pre-render the SVGs to cairo_surface_t's and then
> set_source_surface()/cairo_paint() those.
The backend could take care of that through caching a high-res
rendering and scale that to produce smaller versions. This would
positively fly after generating the rendering cache. The texture
scaling will screw up text rendering though, so it'd need to be
turned on explicitly for the SVGs in question.
But, is this a job for the backend or for application code?
--
Ilmari
More information about the cairo
mailing list