MonobjcMonobjc Documented Class Library
LineFragmentRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout Method (glyphIndex, effectiveGlyphRange, flag)
NamespacesMonobjc.AppKitNSLayoutManagerLineFragmentRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(NSUInteger, NSRange%, Boolean)

Returns the line fragment rectangle containing the glyph at the given glyph index.

Original signature is '- (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange withoutAdditionalLayout:(BOOL)flag'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect LineFragmentRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(
	NSUInteger glyphIndex,
	ref NSRange effectiveGlyphRange,
	bool flag
)
Public Overridable Function LineFragmentRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout ( _
	glyphIndex As NSUInteger, _
	ByRef effectiveGlyphRange As NSRange, _
	flag As Boolean _
) As NSRect
public:
virtual NSRect LineFragmentRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(
	NSUInteger glyphIndex, 
	NSRange% effectiveGlyphRange, 
	bool flag
)
Parameters
glyphIndex (NSUInteger)
The glyph for which to return the line fragment rectangle.
effectiveGlyphRange (NSRange%)
If not NULL, on output, the range for all glyphs in the line fragment.
flag (Boolean)
If YES, glyph generation and layout are not performed, so this option should not be used unless layout is known to be complete for the range in question, or unless noncontiguous layout is enabled; if NO, both are performed as needed.
Return Value
The line fragment in which the given glyph is laid out.
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)