I'm trying to save and restore cgcontext to avoid doing heavy drawing computations for a second time and I'm getting the error : CGGStackRestore: gstack underflow. What am I doing wrong? ...
The following code converts a PDF page into a JPEG. It runs as expected on Snow Leopard:
...
//get the image from the bitmap context
CGImageRef image = CGBitmapContextCreateImage(outContext);
//create the output destination
CGImageDestinationRef outfile = ...
I have a little sketch program that I've managed to throw together using Quartz2D, but I'm very new to the iOS platform and I'm having trouble figuring out how to allow ...
I want to have my iPhone application create a PDF file and store it in an appropriate place - probably the iBooks folder so it can be easily retrieved using iTunes, ...
If I am doing a simple drawing, and I want to change the line width/dash of certain sub paths, how can I achieve this without changing all the paths? I ...
Is there a library I can use that will allow me to quantize images on an iPhone?
I want to quantize the images down to maybe 8 colors and record either hex ...
Currently i am trying to draw some line in my iPad screen and i am able to do so.
I am following this code:
iPad (very) simple drawing
So currently if i am ...