• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem using NSGradient with dataWithPDFInsideRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem using NSGradient with dataWithPDFInsideRect
      • From: Gideon King <email@hidden>
References: 
 >Problem using NSGradient with dataWithPDFInsideRect (From: Gideon King <email@hidden>)

  • Prev by Date: Problem using NSGradient with dataWithPDFInsideRect
  • Next by Date: Re: Where to noteHeightOfRowsWithIndexesChanged
  • Previous by thread: Problem using NSGradient with dataWithPDFInsideRect
  • Next by thread: Re: Problem using NSGradient with dataWithPDFInsideRect
  • Index(es):
    • Date
    • Thread