I have a matrix of 1s and 0s and I need a way to show that matrix graphically. For example painting a dot in a UIScrollView with every 1 I find. I'm trying to do it with Quartz 2D and things like
CGContextSetStrokeColor(c, blue);
CGContextBeginPath(c);
CGContextMoveToPoint(c, 0.0f, 0.0f);
CGContextAddLineToPoint(c, 1.0f, 1.0f);
It looks that it is working but I'm not sure if is the correct way.Above all taking into account that the matrix is VERY VERY big (actually I'm trying only with littles examples) and I'm gonna need to move and zoom in/out to see all the painting.
Thanks.