Re: drawRect - top to bottom text
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