Re: Printing NSGradient / CTGradient with alpha

2008-05-20 Thread Andrew Merenbach
Hi, Matt, Check out these posts -- it appears that you may not actually be doing anything wrong after all: and this thread:

Printing NSGradient / CTGradient with alpha

2008-05-20 Thread Matthew Tonkin
Hi All, I'm trying to print a NSGradient or CTGradient that comprises two colors with alpha. It draws fine on screen, and draws fine in the print panel preview, but when I create a PDF or print it, the alpha is not respected at all. Here is my drawing code: - (void)drawRect:(NSRect)rect {