• 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 in NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing in NSView


  • Subject: Re: Drawing in NSView
  • From: Henry McGilton <email@hidden>
  • Date: Sun, 9 Mar 2003 10:37:41 -0800

On Friday, March 7, 2003, at 04:52 PM, Daniel Aarno wrote:

I have to write a custom view can anyone recommend what to read (on-line) to get up and running with drawing in NSView subclasses in general and drawing text in particular.


Start with NSView, of course . . .


For your text drawing, look at NSString Additions in App Kit. For this
you also need to look at NSFont and likely NSColor as well

Then look at NSBezierPath, as well as App Kit Functions, under 'Graphics'

And for somewhat more advanced stuff, look at NSAffineTransform

Buy 'Cocoa Programming' by Anguish, Buck, and Yacktman, and look at
the code for their drawing examples.

Cheers,
........ Henry

===============================+============================
Henry McGilton | Trilithon Software
Boulevardier, Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
===============================+============================
_______________________________________________
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.

  • Prev by Date: Re: What the heck is going on here? :-)
  • Next by Date: Re: What the heck is going on here? :-)
  • Previous by thread: Drawing in NSView
  • Next by thread: Error when compiling in regex.h
  • Index(es):
    • Date
    • Thread