Re: Erasing drawn content
Re: Erasing drawn content
- Subject: Re: Erasing drawn content
- From: Matej Bukovinski <email@hidden>
- Date: Tue, 8 Jun 2010 19:36:15 +0200
Sadly this also turns the background black just like a NSCompositeClear fill operation.
On 8.6.2010, at 17:56, Paul Sanders wrote:
> > Unfortunately this causes the background to turn black and not transparent. I would need the view to become transparent
> > (so the WebView underneath is visible).
>
> Try this:
>
> [[NSColor clearColor] setFill];
> NSRectFill (myRect);
>
> That's what I do.
>
> Regards,
>
> Paul Sanders
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden