I donโt understand how to apply the CGAffineTransform parameter, which appears in almost every CGPath method, for example:
void CGPathAddRect ( CGMutablePathRef path, const CGAffineTransform *m, CGRect rect );
Let's say I want to turn the straight path, how would I write out this function? Where can I get the transformation matrix?
ios iphone quartz-graphics cgaffinetransform
anna
source share