Cocoa Baseline, Where Art Thou?
I need to find the screen coordinates of the baseline of a string of text
in a Cocoa NSTextView. The string will contain a mixture of fonts and
font sizes. #/baselineDeltaForCharacterAtIndex: in combination with
#/firstRectForCharacterRange:actualRange: will provide this, but the
method is not implemented by NSTextView.
Does anyone know a workaround?
No comments:
Post a Comment