Skip navigation.
 
mldataWithPDFInsideRect not using drawRect
FROM : stefano iacus
DATE : Fri Oct 01 18:18:08 2004

Hi,

I have a NSView. I don't user drawRect to draw on it.
If I try to export this to a pdf file using dataWithPDFInsideRect
method, I only obtain an empty pdf file, i.e. a pdf with only an empty
box inside (of the correct dimensions of the original image).

I guess this is due to the fact I'm not using drawRect.

Is there an equivalent way to do this? i.e. can I export to PDF by
simply redrawing ?

any hints are welcome.

stefano

Related mailsAuthorDate
mldataWithPDFInsideRect not using drawRect stefano iacus Oct 1, 18:18
mlRe: dataWithPDFInsideRect not using drawRect Shawn Erickson Oct 1, 18:38