[cairo] Vector scaling
mg7pwz at gmail.com
Tue Nov 5 17:06:49 CET 2013
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,
> > 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
> > rasterizing it?
> To store operations for later rasterizing, use a recording surface.
> Regards, Krzysztof
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo