Deprecated NSATSTypesetter Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.4

lineFragmentRectForProposedRect:remainingRect:

This method has been deprecated. Use the NSTypesetter method getLineFragmentRect:usedRect:remainingRect:forStartingGlyphAtIndex:proposedRect:lineSpacing:paragraphSpacingBefore:paragraphSpacingAfter: instead. (Deprecated in OS X v10.4.)

- (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect remainingRect:(NSRectPointer)remainingRect
Discussion

Returns the largest rectangle available for the proposed rectangle proposedRect. It also returns a rectangle in remainingRect containing any remaining space, such as that left on the other side of a hole or gap in the text container.

A subclass can override this method to interact with custom glyph storage.

Availability
  • Available in OS X v10.3 and later.
  • Deprecated in OS X v10.4.
Declared In
NSATSTypesetter.h