Enrico Sersale schrieb: > On 2007-02-10 16:43:48 +0200 Fred Kiefer <[EMAIL PROTECTED]> wrote: > >>> In both the cases, it seems that there is something related with >>> -GSReadRect: because both the apps try to create some resized imges >>> using [NSBitmapImageRep initWithFocusedViewRect:]. >> >> In that case you better give up using the cairo backend for GWorkspace. >> GSReadRect: is currently not supported for this backend. I only just >> started to add some code here. I will look into improving on this, but >> as far as I can currently see there is no way to extract data from a >> cairo surface with cairo 1.2.4 and I don't plan to move to a more recent >> cairo release any time soon. > > Well, I see a cairo_image_surface_get_data() in cairo-image-surface.c; > and, in CairoGState.m, you are already using > cairo_image_surface_get_format() passing to it a cairo_surface_t*. But > probably I'm missing something...
Just forget my last mail. Right after I send it, I set down and tried to figure out how cairo exposses the contents of a surface. It was a bit complicated, but not as hard as I thought. If my network is stable I will commit it in a minute. Cheers, Fred _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
