Re: How to clear an NSImage
Re: How to clear an NSImage
- Subject: Re: How to clear an NSImage
- From: Janek Priimann <email@hidden>
- Date: Sat, 12 Apr 2003 15:31:19 +0300
>
Hi,
>
>
my question is quite simple: I have an NSImage instance with
>
transparent background and things drawn on it, and I would like to
>
clear what is drawn to have my NSImage empty, just with the transparent
>
background. How can I do?
>
>
Thakns in advance,
>
>
-- Arthur
[myImage autorelease];
myImage = [[NSImage allocWithZone:NULL] initWithSize:[myImage size]];
-----------------------------------------
Hot Mobiil - helinad, logod ja piltsunumid!
http://portal.hot.ee
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.