Update of bug #34470 (project gnustep):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Looks like there are major differences between GS and Cocoa's
lockFocus/unlockFocus :-(
Well, GS doesn't draw the image into the cache. It should be reasonably easy
to fix.
You can work around it by drawing the image yourself for now, like this:
NSImage *theImg = [[NSImage alloc] initWithContentsOfURL:_url];
NSImageRep *rep = [theImg bestRepresentationForDevice: nil];
[theImg lockFocus];
[rep drawInRect:NSMakeRect(0,0,[theImg size].width, [theImg size].height)];
… rest of the code unchanged.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34470>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep