Re: Problem using NSGradient with dataWithPDFInsideRect
Re: Problem using NSGradient with dataWithPDFInsideRect
- Subject: Re: Problem using NSGradient with dataWithPDFInsideRect
- From: Graham Cox <email@hidden>
- Date: Thu, 17 Jun 2010 00:33:54 +1000
On 17/06/2010, at 12:12 AM, Gideon King wrote:
> It appears that it doesn't honor the opacity settings of the colors and instead uses solid colors.
>
> Is this a known issue? Is there some workaround for this?
PDF doesn't support gradients with transparency.
This sucks majorly actually, as it makes true WYSIWYG impossible.
A workaround might be to render the gradient to an image but it's less than ideal as it can bloat the PDF size hugely and is no longer resolution independent. I think a more recent version of PDF adds this capability but right now Apple is a version or two behind.
--Graham
_______________________________________________
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