On Jul 10, 2008, at 5:47 AM, Graham Cox wrote:

I've noticed that when generating PDF data from a view with - dataWithPDFInsideRect:, transparent flat colours work OK, but gradients (CGShading) that have some colours that are not 100% opaque are not recorded correctly (the alpha is ignored and the colours are always 100% opaque).

Is this a known issue?


I think it would help of you filed a bug about this, I'm not certain if there is one already filed. If your shading uses a constant alpha value, I think you can work around this by using CGContextSetAlpha() to draw the shading with the target alpha (and making the shading itself opaque).
--
David Duncan
Apple DTS Animation and Printing
[EMAIL PROTECTED]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to