Calculates the line fragment rectangle and line fragment used rectangle for blank lines.
Original signature is '- (void)getLineFragmentRect:(NSRectPointer)lineFragmentRect usedRect:(NSRectPointer)lineFragmentUsedRect forParagraphSeparatorGlyphRange:(NSRange)paragraphSeparatorGlyphRange atProposedOrigin:(NSPoint)lineOrigin'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin( ref NSRect lineFragmentRect, ref NSRect lineFragmentUsedRect, NSRange paragraphSeparatorGlyphRange, NSPoint lineOrigin )
Parameters
- lineFragmentRect (NSRect%)
- On return, the calculated line fragment rectangle.
- lineFragmentUsedRect (NSRect%)
- On return, the used rectangle (the portion of the line fragment rectangle that actually contains marks).
- paragraphSeparatorGlyphRange (NSRange)
- The range of glyphs under consideration. A paragraphSeparatorGlyphRange with length 0 indicates an extra line fragment (which occurs if the last character in the paragraph is a line separator).
- lineOrigin (NSPoint)
- The origin point of the line fragment rectangle.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)