Hi Damien,

On Apr 2, 2007, at 5:02 PM, Damien Duportal wrote:

I need some help about coding this function. FIrst, i have to test my begins, but i'm not so good with C++ syntax as i thought. When compiling, there were a lot of errors, so i need some help...

Here is my actual code :
//cut
Some ideas ?? Thanks a lot


Damien

Here is one:
//Creating the data provider
CGDataProviderRef epsDataProvider = CGDataProviderCreateWithData (NULL,pPtr,nSize,NULL);

This will compile, but I know its not right.
drawEPS.c  http://mikesicotte.com/patch/drawEPS.c


I think instead of PMCGImageCreateWithEPSDataProvider, the method shown at

http://developer.apple.com/documentation/GraphicsImaging/Conceptual/ drawingwithquartz2d/index.html#//apple_ref/doc/uid/TP30001066

is needed to draw to the screen.

Mike

Reply via email to