On 19/08/2013, at 12:05 PM, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:

> Here is the final code (if there is anything wrong or not quite right, please 
> feel free to critizise it):

>       [NSGraphicsContext setCurrentContext: bitmapContext2 ];


You might want to save and restore the current graphics context around the 
whole thing so that you don't leave it set to your bitmap. It may well be 
harmless, but always better to play nice.

--Graham



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to