drawInRect to start from top
drawInRect to start from top
- Subject: drawInRect to start from top
- From: Ivan Myrvold <email@hidden>
- Date: Thu, 8 Jan 2004 14:28:25 +0100
I want my custom view to use the NSString drawInRect method to draw
some text in a rectangle. The custom view is drawing the text from the
bottom of the rectangle towards the top, but I want it to start from
the top, and draw the text towards the botto, so that if I have a
single line, it will be on the top of the rectangle, rather as it is
now on the bottom. How do I implement that? The documentation says
something about flipping the view, but that will affect all the other
draw routines then?
Ivan
_______________________________________________
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.