Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swyitch

macrumors newbie
Original poster
Dec 28, 2008
4
0
if im drawing a line on top of a UIImage with something like the following

CGContextMoveToPoint(context, x1, y1);
CGContextAddLineToPoint(context, x2, y2);
CGContextStrokePath(context);

is there an easy way to determine what color the pixel is?

for example if my image is a solid blue box and draw the line into the box can i tell that the pixels are blue? (in quartz obviously)

thanks

jeff
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.