A method identified as deprecated has been superseded and may become unsupported in the future.
This method has been deprecated. Use the NSTypesetter method getLineFragmentRect:usedRect:remainingRect:forStartingGlyphAtIndex:proposedRect:lineSpacing:paragraphSpacingBefore:paragraphSpacingAfter: instead. (Deprecated in Mac OS X v10.4.)
- (NSRect)lineFragmentRectForProposedRect:(NSRect)proposedRect remainingRect:(NSRectPointer)remainingRect
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.
NSATSTypesetter.h
Last updated: 2006-07-10