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

Returns the usage rectangle for the line fragment in which the given glyph is laid and (optionally) by reference the whole range of glyphs that are in that fragment.

Original signature is '- (NSRect)lineFragmentUsedRectForGlyphAtIndex:(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 LineFragmentUsedRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(
	NSUInteger glyphIndex,
	ref NSRange effectiveGlyphRange,
	bool flag
)
Public Overridable Function LineFragmentUsedRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout ( _
	glyphIndex As NSUInteger, _
	ByRef effectiveGlyphRange As NSRange, _
	flag As Boolean _
) As NSRect
public:
virtual NSRect LineFragmentUsedRectForGlyphAtIndexEffectiveRangeWithoutAdditionalLayout(
	NSUInteger glyphIndex, 
	NSRange% effectiveGlyphRange, 
	bool flag
)
Parameters
glyphIndex (NSUInteger)
The glyph for which to return the line fragment used 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 used rectangle for 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)