MonobjcMonobjc Documented Class Library
WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset Method (lineRect, glyphRange, usedRect, baselineOffset)
NamespacesMonobjc.AppKitNSATSTypesetterWillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(NSRect%, NSRange, NSRect%, CGFloat%)

Called by the typesetter just prior to calling setLineFragmentRect:forGlyphRange:usedRect:baselineOffset: which stores the actual line fragment rectangle location in the layout manager.

Original signature is '- (void)willSetLineFragmentRect:(NSRect *)lineRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect *)usedRect baselineOffset:(CGFloat *)baselineOffset'

Available in Mac OS X v10.3. Moved to NSTypesetter in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(
	out NSRect lineRect,
	NSRange glyphRange,
	out NSRect usedRect,
	out CGFloat baselineOffset
Public Overridable Sub WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset ( _
	<OutAttribute> ByRef lineRect As NSRect, _
	glyphRange As NSRange, _
	<OutAttribute> ByRef usedRect As NSRect, _
	<OutAttribute> ByRef baselineOffset As CGFloat _
virtual void WillSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(
	[OutAttribute] NSRect% lineRect, 
	NSRange glyphRange, 
	[OutAttribute] NSRect% usedRect, 
	[OutAttribute] CGFloat% baselineOffset
lineRect (NSRect%)
glyphRange (NSRange)
usedRect (NSRect%)
baselineOffset (CGFloat%)
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)