• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawing and setting pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawing and setting pixels


  • Subject: Re: drawing and setting pixels
  • From: Scott Ellsworth <email@hidden>
  • Date: Fri, 20 Jan 2006 16:26:21 -0800


On Jan 20, 2006, at 3:59 PM, Robert Dell wrote:

Uli Kusterer wrote:

Am 18.01.2006 um 04:55 schrieb Robert Dell:
What interface should I use to draw lines, fill rectangles with color, and set/test pixel data?
RTFM:
http://developer.apple.com/documentation/Cocoa/GraphicsImaging- title.html#doclist

Ahhhh somebody willing to tell me the page to look at... thanks.

I would strongly suggest buying two books: Aaron Hillegas's Cocoa Programming for MacOS X, second edition, and Anguish/Buck/Yacktman's Cocoa Programming.


Both discuss the joys of drawRect, with compliing examples. Afraind these are not free URLs, but the discussion in the books is very valuable for getting your head around how NSView and subclasses work.

NB - you can certainly use Carbon, but I would not if I were starting new development. It is completely supported on the Intel platform, but I find Cocoa much kinder to work in.

Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >drawing and setting pixels (From: Robert Dell <email@hidden>)
 >Re: drawing and setting pixels (From: Uli Kusterer <email@hidden>)
 >Re: drawing and setting pixels (From: Robert Dell <email@hidden>)

  • Prev by Date: Re: creating a draw window
  • Next by Date: Re: Mixing C++ with Objective-C
  • Previous by thread: Re: drawing and setting pixels
  • Next by thread: Can't reopen last-saved document (NSPersistentDocument)
  • Index(es):
    • Date
    • Thread