[Previous]
[Up]
[Next]
NSLayoutManager
Authors
- Richard Frith-Macdonald
-
Version: 0.1
Date: 28 February, 2000
Declared in: Gui/NSLayoutManager.h
Inherits from: NSObject
Conforms to: NSObject
- (void) addTextContainer: (NSTextContainer*)aTextContainer
- (BOOL) backgroundLayoutEnabled
- (NSRect) boundingRectForGlyphRange: (NSRange)glyphRange inTextContainer: (NSTextContainer*)aTextContainer
- (unsigned int) characterIndexForGlyphAtIndex: (unsigned int)glyphIndex
- (NSRange) characterRangeForGlyphRange: (NSRange)glyphRange actualGlyphRange: (NSRange*)actualGlyphRange
- (id) delegate
- (void) deleteGlyphsInRange: (NSRange)glyphRange
- (void) drawBackgroundForGlyphRange: (NSRange)glyphRange
- (void) drawGlyphsForGlyphRange: (NSRange)glyphRange
- (BOOL) drawsOutsideLineFragmentForGlyphAtIndex: (unsigned int)glyphIndex
- (void) drawUnderlineForGlyphRange: (NSRange)glyphRange underlineType: (int)underlineType baselineOffset: (float)baselineOffset lineFragmentRect: (NSRect)lineRect lineFragmentGlyphRange: (NSRange)lineGlyphRange containerOrigin: (NSPoint)containerOrigin
- (NSRect) extraLineFragmentRect
- (NSTextContainer*) extraLineFragmentTextContainer
- (NSRect) extraLineFragmentUsedRect
- (NSTextView*) firstTextView
- (unsigned int) firstUnlaidCharacterIndex
- (unsigned int) firstUnlaidGlyphIndex
- (float) fractionOfDistanceThroughGlyphForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer
- (void) getFirstUnlaidCharacterIndex: (unsigned int*)charIndex glyphIndex: (unsigned int*)glyphIndex
- (unsigned int) getGlyphs: (NSGlyph*)glyphArray
- (NSGlyph) glyphAtIndex: (unsigned int)glyphIndex
- (NSGlyph) glyphAtIndex: (unsigned int)glyphIndex isValidIndex: (BOOL*)flag
- (unsigned int) glyphIndexForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer
- (unsigned int) glyphIndexForPoint: (NSPoint)aPoint inTextContainer: (NSTextContainer*)aTextContainer fractionOfDistanceThroughGlyph: (float*)partialFraction
- (NSRange) glyphRangeForBoundingRect: (NSRect)aRect inTextContainer: (NSTextContainer*)aTextContainer
- (NSRange) glyphRangeForBoundingRectWithoutAdditionalLayout: (NSRect)bounds inTextContainer: (NSTextContainer*)container
- (NSRange) glyphRangeForCharacterRange: (NSRange)charRange actualCharacterRange: (NSRange*)actualCharRange
- (NSRange) glyphRangeForTextContainer: (NSTextContainer*)aTextContainer
- (float) hyphenationFactor
- (id) init
- (void) insertGlyph: (NSGlyph)aGlyph atGlyphIndex: (unsigned int)glyphIndex characterIndex: (unsigned int)charIndex
- (void) insertTextContainer: (NSTextContainer*)aTextContainer
- (int) intAttribute: (int)attributeTag forGlyphAtIndex: (unsigned int)glyphIndex
- (void) invalidateDisplayForCharacterRange: (NSRange)charRange
- (void) invalidateDisplayForGlyphRange: (NSRange)glyphRange
- (void) invalidateGlyphsForCharacterRange: (NSRange)charRange changeInLength: (int)lengthChange actualCharacterRange: (NSRange*)actualCharRange
- (void) invalidateLayoutForCharacterRange: (NSRange)charRange isSoft: (BOOL)flag actualCharacterRange: (NSRange*)actualCharRange
- (BOOL) isValidGlyphIndex: (unsigned int)glyphIndex
- (BOOL) layoutManagerOwnsFirstResponderInWindow: (NSWindow*)aWindow
- (NSRect) lineFragmentRectForGlyphAtIndex: (unsigned int)glyphIndex effectiveRange: (NSRange*)lineFragmentRange
- (NSRect) lineFragmentUsedRectForGlyphAtIndex: (unsigned int)glyphIndex effectiveRange: (NSRange*)lineFragmentRange
- (NSPoint) locationForGlyphAtIndex: (unsigned int)glyphIndex
- (BOOL) notShownAttributeForGlyphAtIndex: (unsigned int)glyphIndex
- (unsigned int) numberOfGlyphs
- (NSRange) rangeOfNominallySpacedGlyphsContainingIndex: (unsigned int)glyphIndex
- (NSRect*) rectArrayForCharacterRange: (NSRange)charRange withinSelectedCharacterRange: (NSRange)selCharRange inTextContainer: (NSTextContainer*)aTextContainer
- (NSRect*) rectArrayForGlyphRange: (NSRange)glyphRange withinSelectedGlyphRange: (NSRange)selGlyphRange inTextContainer: (NSTextContainer*)aTextContainer
- (void) removeTextContainerAtIndex: (unsigned int)index
- (void) replaceGlyphAtIndex: (unsigned int)glyphIndex
- (void) replaceTextStorage: (NSTextStorage*)newTextStorage
- (NSView*) rulerAccessoryViewForTextView: (NSTextView*)aTextView paragraphStyle: (NSParagraphStyle*)paraStyle ruler: (NSRulerView *)aRulerView enabled: (BOOL)flag
- (NSArray*) rulerMarkersForTextView: (NSTextView*)aTextView paragraphStyle: (NSParagraphStyle*)paraStyle
- (void) setBackgroundLayoutEnabled: (BOOL)flag
- (void) setCharacterIndex: (unsigned int)charIndex forGlyphAtIndex: (unsigned int)glyphIndex
- (void) setDelegate: (id)anObject
- (void) setDrawsOutsideLineFragment: (BOOL)flag forGlyphAtIndex: (unsigned int)glyphIndex
- (void) setExtraLineFragmentRect: (NSRect)aRect usedRect: (NSRect)usedRect textContainer: (NSTextContainer*)aTextContainer
- (void) setHyphenationFactor: (float)factor
- (void) setIntAttribute: (int)attributeTag value: (int)anInt forGlyphAtIndex: (unsigned int)glyphIndex
- (void) setLineFragmentRect: (NSRect)fragmentRect forGlyphRange: (NSRange)glyphRange
- (void) setLocation: (NSPoint)aPoint forStartOfGlyphRange: (NSRange)glyphRange
- (void) setNotShownAttribute: (BOOL)flag forGlyphAtIndex: (unsigned int)glyphIndex
- (void) setShowsControlCharacters: (BOOL)flag
- (void) setShowsInvisibleCharacters: (BOOL)flag
- (void) setTextContainer: (NSTextContainer*)aTextContainer
- (void) setTextStorage: (NSTextStorage*)textStorage
- (void) setUsesScreenFonts: (BOOL)flag
- (void) showAttachmentCell: (NSCell*)cell inRect: (NSRect)rect characterIndex: (unsigned int)attachmentIndex;
- (BOOL) showsControlCharacters
- (BOOL) showsInvisibleCharacters
- (NSFont*) substituteFontForFont: (NSFont*)originalFont
- (void) textContainerChangedGeometry: (NSTextContainer*)aTextContainer
- (void) textContainerChangedTextView: (NSTextContainer*)aTextContainer
- (NSTextContainer*) textContainerForGlyphAtIndex: (unsigned int)glyphIndex effectiveRange: (NSRange*)effectiveGlyphRange
- (NSArray*) textContainers
- (NSTextStorage*) textStorage
- (void) textStorage: (NSTextStorage*)aTextStorage edited: (unsigned int)mask range: (NSRange)range changeInLength: (int)lengthChange invalidatedRange: (NSRange)invalidatedCharRange
- (NSTextView*) textViewForBeginningOfSelection
- (void) underlineGlyphRange: (NSRange)glyphRange underlineType: (int)underlineType lineFragmentRect: (NSRect)lineRect lineFragmentGlyphRange: (NSRange)lineGlyphRange containerOrigin: (NSPoint)containerOrigin
- (NSRect) usedRectForTextContainer: (NSTextContainer*)aTextContainer
- (BOOL) usesScreenFonts
- (void) layoutManager: (NSLayoutManager*)aLayoutManager didCompleteLayoutForTextContainer: (NSTextContainer*)aTextContainer
- (void) layoutManagerDidInvalidateLayout: (NSLayoutManager*)aLayoutManager