Ngày tải lên :
24/10/2013, 18:15
... CGPathAddArc(myPath,NULL, 110, 50,30,0,2*M_PI,1); CGPathMoveToPoint(myPath,NULL, 240 , 50); CGPathAddArc(myPath,NULL, 210, 50,30,0,2*M_PI,1); CGPathAddArc(myPath,NULL,160, 110, 15,0,2*M_PI,1); CGPathAddArc(myPath,NULL,160, 210, 25,0,2*M_PI,1); ... CGContextAddEllipseInRect CGPathAddLineToPoint CGContextAddLineToPoint CGPathAddRect CGContextAddRect CGPathMoveToPoint CGContextMoveToPoint CGPathCloseSubpath CGContextClosePath 3 74 CHAPTER 19 Graphics: Quartz, ... together: CGContextTranslateCTM(ctx, 100 , 100 ); CGContextRotateCTM(ctx, 25*M_PI); These functions move a drawing 100 to the right and 100 down and rotate it by 45 degrees Figure 19.2 shows the untransformed...