NSRect and the origin
NSRect and the origin
- Subject: NSRect and the origin
- From: Reza Farhad <email@hidden>
- Date: Mon, 08 Jul 2002 15:48:32 +0100
I am trying to get the rect of a glyph in NSTextView. I l used the function
below in NSLayoutManager:
- (NSRect)boundingRectForGlyphRange:(NSRange)glyphRange
inTextContainer:(NSTextContainer *)aTextContainer
The function works fine but the origin for the rect appears to be set at the
top/left rather than the standard bottom/left that is used through out
cocoa.
Is this a bug or is there a good explanation for this.
Thanks
Reza
_______________________________________________
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.