Watch for overflow when drawing string to NSView for printing?
Watch for overflow when drawing string to NSView for printing?
- Subject: Watch for overflow when drawing string to NSView for printing?
- From: Justin Hawkwood <email@hidden>
- Date: Mon, 13 Jun 2005 19:56:45 -0700
I have an NSString that I would like to draw (using drawInRect:
withAttributes:?) to an NSView for printing. As this string was
entered using a NSTextView, it could be very long, and I want to know
if it overflows the rect that I set it to draw in, and if so where in
the string it was clipped, so that I can continue the rest of the
string on an other page (rinse and repeat).
PLUS how to do this in pre-10.3?
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden