[cairo] Svg optimisation ?

Stuart Axon stuaxo2 at yahoo.com
Tue May 18 21:37:54 PDT 2010


I m using rsvg to load an svg to a surface.  Is there anything I can do with Cairo to optimise the surface, once ANC then keep it around?

Was thinking stuff like hidden surface removal and optimisation of the paths, e.g. Merging areas of the same final colour.

- so that drawing is faster, but it can still be scaled (I draw lots of different size versions of it, so generating bitmaps and keeping them around could cost CPU and memory)


      


More information about the cairo mailing list