[cairo] Vector scaling

AD mg7pwz at gmail.com
Tue Nov 5 17:06:49 CET 2013

Thanks Krzysztof,
Recording surfaces don't seem to be available through pycairo though.
Aren't there any workarounds?



2013/11/5 Krzysztof Kosiński <tweenk.pl at gmail.com>

> 2013/11/5 AD <mg7pwz at gmail.com>:
> > Hello,
> > Sorry if this feels dumb or if it's not the right place to ask. I looked
> > everywhere for an answer.
> > I understand that cairo is a vector graphics library.
> > So is there a way to upscale a surface with vector drawings on it (shapes
> > and text), without upsampling?
> > I'm using pycairo, to create some surfaces with text and shapes on it,
> and
> > I'd like to be able to serve PNGs of several sizes. Do I have to redraw
> > everything each time? Or is there a way to upscale a cairo surface
> without
> > rasterizing it?
> To store operations for later rasterizing, use a recording surface.
> http://cairographics.org/manual/cairo-Recording-Surfaces.html
> Regards, Krzysztof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20131105/35a0d69e/attachment.html>

More information about the cairo mailing list