Re: Clipping text from NSLayoutManager
Re: Clipping text from NSLayoutManager
- Subject: Re: Clipping text from NSLayoutManager
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 1 Mar 2007 23:48:55 -0800
On Mar 1, 2007, at 11:40 PM, Thomas Dingler wrote:
Hi,
I want to clip my drawing area using CGContextClipToRect. This work
very well on NSImage, CIImage, NSRectFill and so on.
But it does not work if I want to clip my text output, that is drawn
by
[layoutmanager drawGlyphsForGlyphRange:glyphRange atPoint:origin];
The text will be drawn ignoring the clipping rect.
Any ideas?
That's a bug. If you can reproduce it in a small test case, please
report it.
-jcr
“The two most important tools an architect has are the eraser in the
drawing room and the sledge hammer on the construction site. ”
-Frank Lloyd Wright
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden