On 28 Jan 2009, at 16:49, Ricky Sharp wrote:

You could render your text to an image first, composite it with the opaque-to-transparent mask and finally draw the result.

I used to create images from text, but I ended up with issues regarding resolution independence for some reason. So, you may need to test this solution with RI if needed.

This solution will also throw sub-pixel anti-aliasing in the bin.

Bob
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to