I need to draw an hexagon and fill it with a color build with an Image as pattern. I did:
CGContextSaveGState(context); CGContextSetLineCap(context, kCGLineCapRo
Try
CGContextDrawPath(context, kCGPathFillStroke);
Instead of
CGContextStrokePath(context); CGContextFillPath(context);