MonobjcMonobjc Documented Class Library
GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter Method (lineFragmentRect, lineFragmentUsedRect, remainingRect, startingGlyphIndex, proposedRect, lineSpacing, paragraphSpacingBefore, paragraphSpacingAfter)
NamespacesMonobjc.AppKitNSTypesetterGetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter(NSRect%, NSRect%, NSRect%, NSUInteger, NSRect, CGFloat, CGFloat, CGFloat)

Calculates line fragment rectangle, line fragment used rectangle, and remaining rectangle for a line fragment.

Original signature is '- (void)getLineFragmentRect:(NSRectPointer)lineFragmentRect usedRect:(NSRectPointer)lineFragmentUsedRect remainingRect:(NSRectPointer)remainingRect forStartingGlyphAtIndex:(NSUInteger)startingGlyphIndex proposedRect:(NSRect)proposedRect lineSpacing:(CGFloat)lineSpacing paragraphSpacingBefore:(CGFloat)paragraphSpacingBefore paragraphSpacingAfter:(CGFloat)paragraphSpacingAfter'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter(
	ref NSRect lineFragmentRect,
	ref NSRect lineFragmentUsedRect,
	ref NSRect remainingRect,
	NSUInteger startingGlyphIndex,
	NSRect proposedRect,
	CGFloat lineSpacing,
	CGFloat paragraphSpacingBefore,
	CGFloat paragraphSpacingAfter
)
Public Overridable Sub GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter ( _
	ByRef lineFragmentRect As NSRect, _
	ByRef lineFragmentUsedRect As NSRect, _
	ByRef remainingRect As NSRect, _
	startingGlyphIndex As NSUInteger, _
	proposedRect As NSRect, _
	lineSpacing As CGFloat, _
	paragraphSpacingBefore As CGFloat, _
	paragraphSpacingAfter As CGFloat _
)
public:
virtual void GetLineFragmentRectUsedRectRemainingRectForStartingGlyphAtIndexProposedRectLineSpacingParagraphSpacingBeforeParagraphSpacingAfter(
	NSRect% lineFragmentRect, 
	NSRect% lineFragmentUsedRect, 
	NSRect% remainingRect, 
	NSUInteger startingGlyphIndex, 
	NSRect proposedRect, 
	CGFloat lineSpacing, 
	CGFloat paragraphSpacingBefore, 
	CGFloat paragraphSpacingAfter
)
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).
remainingRect (NSRect%)
On return, the remaining rectangle of proposedRect.
startingGlyphIndex (NSUInteger)
The glyph index where the line fragment starts.
proposedRect (NSRect)
The proposed rectangle of the line fragment.
lineSpacing (CGFloat)
The line spacing.
paragraphSpacingBefore (CGFloat)
The spacing before the paragraph.
paragraphSpacingAfter (CGFloat)
The spacing after the paragraph.
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)