• 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 strings at angles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing strings at angles?


  • Subject: Re: Drawing strings at angles?
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 26 Feb 2003 15:05:25 -0800

On Wednesday, February 26, 2003, at 2:14 PM, Ian G. Gillespie wrote:

I searched through the archives a bit but couldn't not find anything to help me answer this question. Does anyone have any suggestions as to how to draw strings at say an angle of 45 degrees below a horizontal line?

Use an NSAffineTransform to apply a rotation and draw the string as usual. See /Developer/Examples/CircleView for one example of this--it applies a different rotation to each glyph, but the principle is the same.

Douglas Davidson
_______________________________________________
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.

References: 
 >Drawing strings at angles? (From: "Ian G. Gillespie" <email@hidden>)

  • Prev by Date: Re: NSOpenPanel Question
  • Next by Date: Re: Why Cocoa (say vs Carbon)
  • Previous by thread: Drawing strings at angles?
  • Next by thread: NSString and NSScanner gurus
  • Index(es):
    • Date
    • Thread