lineFragmentRectForProposedRect question ?
lineFragmentRectForProposedRect question ?
- Subject: lineFragmentRectForProposedRect question ?
- From: RFM <email@hidden>
- Date: Wed, 10 Apr 2002 09:43:47 -0400
- Organization: RFM & Associates
Hello,
Does anyone know if there is an example available on how to use the
NSTextContainer method lineFragmentRectForProposedRect: ? That is how to
calculate an actual line fragment rectangle for a particular word or
line in text ? I've had no luck subclassing this to do some special
operations that I would like to implement such as clean page breaking on
both horizontal and vertical page boundaries for words and lines that
are split across these boundaries ? Is that even possible using this
method ? is there some other way to achieve this ?
Thanx for any help in advance.
Regards,
Bob M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.