• 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: drawRect - top to bottom text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawRect - top to bottom text


  • Subject: Re: drawRect - top to bottom text
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 5 Nov 2004 00:22:00 +0100

At 20:20 Uhr -0800 01.11.2004, Wayne Lau wrote:
My question is if there's any way to make the origin the top left corner with out having to override the isFlipped function. The reason I don't want to use this function is because it'll change everything else that i've set in place. I just want my text to start from the top of the rectangle and progress downward.

Maths?

 Call sizeWithAttributes: and then add the height to your drawing coordinate.

--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
       "The Witnesses of TeachText are everywhere..."
                   http://www.zathras.de
_______________________________________________
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: drawRect - top to bottom text
      • From: "R. Scott Thompson" <email@hidden>
References: 
 >drawRect - top to bottom text (From: "Wayne Lau" <email@hidden>)

  • Prev by Date: Re: NSSplitView replacement
  • Next by Date: Re: NSImage release crash
  • Previous by thread: drawRect - top to bottom text
  • Next by thread: Re: drawRect - top to bottom text
  • Index(es):
    • Date
    • Thread