• 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
(freely) Rotating Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(freely) Rotating Text


  • Subject: (freely) Rotating Text
  • From: Thomas Bruhin <email@hidden>
  • Date: Mon, 2 May 2005 13:10:17 +0200

Dear Listmembers

I am working on a graphing application which is nearly finished. The last problem to be solved is the one I now have serious trouble with: I want to be able to draw the labels for my horizontal axis not only horizontally (which works perfect using the drawAtPoint Method of the NSAttributedString class) but vertically (90 degrees rotated) and even in some other degree like 30 or 60 or whatever. I found a (partial) solution in the list-archives: "Unwanted clip of rotated text". I followed the thread Erez Anzel and Douglas Davidson had, and implemented the methods from Apples CircleView demo application. It works fine, however the overhead is quite big, since I have to draw each glyph individually. This was also noted by Douglas and he suggested to do it all in one call to the Glyph drawing method. But this gives me a really hard time :-( I just don't get it!
Can anybody of you Pros point me to the right direction - with a code example if possible?


Thanks a lot,
Thomas

_______________________________________________
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


  • Follow-Ups:
    • Re: (freely) Rotating Text
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Hyperlinks in NSTextFields?
  • Next by Date: Re: What does this mean?
  • Previous by thread: OutlineEdit example
  • Next by thread: Re: (freely) Rotating Text
  • Index(es):
    • Date
    • Thread