Re: dataWithPDFInsideRect: ignores alpha of a shading?
Re: dataWithPDFInsideRect: ignores alpha of a shading?
- Subject: Re: dataWithPDFInsideRect: ignores alpha of a shading?
- From: David Duncan <email@hidden>
- Date: Thu, 10 Jul 2008 11:36:07 -0700
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@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden