> 
> Hi David,
> After a few days using CGContextBeginTransparencyLayer
> I have just noticed that the text I draw on a trasparent background with
> 
>    [super drawRect:rect];  // we are in a drawRect: method of a NSTextView
> 
> looks without antialias. No matter whether I add before

Antialiasing text against a transparent background is hard because CoreGraphics 
doesn't know what colours it should be antialiasing the text against.

Kevin


_______________________________________________

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

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

Reply via email to