Re: Drawing strings at angles?
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.