MonobjcMonobjc Documented Class Library
GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin Method (lineFragmentRect, lineFragmentUsedRect, paragraphSeparatorGlyphRange, lineOrigin)
NamespacesMonobjc.AppKitNSTypesetterGetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin(NSRect%, NSRect%, NSRange, NSPoint)

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 BasicVisual C++
public virtual void GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin(
	ref NSRect lineFragmentRect,
	ref NSRect lineFragmentUsedRect,
	NSRange paragraphSeparatorGlyphRange,
	NSPoint lineOrigin
)
Public Overridable Sub GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin ( _
	ByRef lineFragmentRect As NSRect, _
	ByRef lineFragmentUsedRect As NSRect, _
	paragraphSeparatorGlyphRange As NSRange, _
	lineOrigin As NSPoint _
)
public:
virtual void GetLineFragmentRectUsedRectForParagraphSeparatorGlyphRangeAtProposedOrigin(
	NSRect% lineFragmentRect, 
	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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)