[cairo] cairo/gdk + clipping
andrew at operationaldynamics.com
Thu Aug 19 01:51:27 PDT 2010
On Wed, 2010-08-18 at 15:49 +0200, Benjamin Otte wrote:
> So if you render everything with Cairo, what you usually want to for
> creating your Cairo context is run code like this:
> cr = gdk_cairo_create (event->window);
> gdk_cairo_region (cr, event->region);
> cairo_clip (cr);
> Then you end up with a region that is properly clipped...
I thought GdkRegion was deprecated?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the cairo