CGContextRef ctx;
NSGraphicsContext *nsGraphicsContext;
nsGraphicsContext = [NSGraphicsContext
graphicsContextWithGraphicsPort:ctx flipped:NO];
[NSGraphicsContext saveGraphicsState];
[NSGraphicsContext setCurrentContext:nsGraphicsContext];
There is no NSGraphicsContext for iphone.
Thus CGContextRef context= UIGraphicsGetCurrentContext() ....do i use this?
Thanks in advance.