On Feb 19, 2011, at 12:49 PM, Peter Krajčík wrote: > What is a proper way to get cellFrame for NSTextAttachmentCell (or to be more > general, position of glyph in NSAttributedString) that is inserted to > NSAttributedString or drawn by NSTextFieldCell?
If you have subclassed NSTextAttachmentCell, and everything is working correctly, I would think you could get the value you need by overriding cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex to call super and noting the returned value._______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com