Il giorno 19/ago/2013, alle ore 09:01, "Gerriet M. Denkmann" <[email protected]> ha scritto:
> > On 19 Aug 2013, at 06:41, Marcel Weiher <[email protected]> wrote: [...] > I also tried (before [image lockFocus]: > NSGraphicsContext *bitmapContext = [ NSGraphicsContext > graphicsContextWithBitmapImageRep: imageRep ]; > [NSGraphicsContext setCurrentContext: bitmapContext ]; > But after [image lockFocus] the currentContext changes to: > NSSnapshotBitmapGraphicsContext. > in this case, you should not use -lockFocus: since you have already created and set the new context, you just need to start drawing -- Simone Tellini http://tellini.info _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
