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. I used cairo_copy_path_flat() to get a cairo_path_t that doesn't have any of those pesky 'curve_to' operations in it, and then converted the path into a series of GdkPoints, iterating over the path data as described in the cairo docs. Seems to work decently well, though the paths unsurprisingly don't match exactly. -brian _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list