[cairo] cairo_clip()-related question

Gerdus van Zyl gerdusvanzyl at gmail.com
Wed Nov 26 07:12:03 PST 2008


There is cairo_copy_path
(http://www.cairographics.org/manual/cairo-paths.html#cairo-copy-path)
and cairo_append_path but if you could explain what the problem is
there might be a better way.

But first do your drawing using the same plain cairo calls during draw
and expose with clipping during expose and if you get that working
test and see if it's fast enough.

~Gerdus

On Wed, Nov 26, 2008 at 2:05 PM, Alexei Babich <a.babich at rez.ru> wrote:
>> No, what he meant was that cairo_save() doesn't save the current path -
> Oh..
>
> Is there an alternative to cairo_save() function which would save the path? May be, memcpy(), for raw copying context ?
>
> --
> Regards,
> Alexei Babich, circuit engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
> http://www.rez.ru
> Jabber ID: impatt at jabber.ru
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list