cairo_path_t to GdkRegion?

2008-04-14 Thread Brian J. Tarricone
Hi all, I'm writing a semi-transparent window widget that uses cairo for drawing. I'm using an ARGB window, and the window itself isn't necessarily rectangular (sometimes it'll have rounded corners of arbitrary radius, and other non-regular shapes are possible). Since I'm using cairo to do the

Re: cairo_path_t to GdkRegion?

2008-04-14 Thread Brian J. Tarricone
On Mon, 14 Apr 2008 02:38:27 -0700 Brian J. Tarricone wrote: Anybody know of a way to munge a cairo_path_t into at least an approximate GdkRegion (i.e. suitable for gdk_window_shape_combine_region())? Or is there a better way to do this? Figured out something, in case anyone's interested.