Re: Displaying shapes on a second monitor
Re: Displaying shapes on a second monitor
- Subject: Re: Displaying shapes on a second monitor
- From: "I. Savant" <email@hidden>
- Date: Tue, 14 Aug 2007 15:31:32 -0400
> I cannot draw into that window using Quartz drawing APIs. Is there
> any sample code for this?
> Any Suggestions?
Yes, one: read the documentation.
Search for "Cocoa Drawing Guide". Basically, you create a custom
view subclass, add an instance of it to your window (or set it as the
window's content view), override -drawRect: with your own drawing
code, and you're done.
--
I.S.
_______________________________________________
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