Scale the CGPath in objective C

 Solution:


The below code is used to scale the path in objective C.


    CGAffineTransform transform = CGAffineTransformMakeScale(1,1);

    CGPathRef intermediatePath = CGPathCreateCopyByTransformingPath(path, &transform);


Comments

Popular posts from this blog

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift