I see APIs in Quartz for drawing lines and circles. But all I want to do is to specify the (x,y) cartesian coordinate to color a pixel a particular value. How do I do that
CGContextFillRect(context, CGRectMake(x,y,1,1));