Remove path data usage in clipPath

Remove path data usage in clipPath.
Use clipPath in SVG way
This commit is contained in:
Horcrux
2017-01-07 23:17:10 +08:00
parent 609226d732
commit 152e839126
9 changed files with 67 additions and 84 deletions
+1 -2
View File
@@ -45,8 +45,7 @@
CGPathRelease(strokePath);
}
CGAffineTransform transform = self.matrix;
self.hitArea = CFAutorelease(CGPathCreateCopyByTransformingPath(hitArea, &transform));
self.hitArea = CGPathCreateCopy(hitArea);
CGPathRelease(hitArea);
}