Skip to content

Commit

Permalink
Rounded Path are closed on Quartz, not in O2
Browse files Browse the repository at this point in the history
  • Loading branch information
airy10 committed Nov 14, 2011
1 parent 16f73d5 commit 5aebff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Onyx2D/O2MutablePath.m
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ void O2PathAddEllipseInRect(O2MutablePathRef self,const O2AffineTransform *matri
O2PathMoveToPoint(self,matrix,cp[0].x,cp[0].y);
for(i=1;i<13;i+=3)
O2PathAddCurveToPoint(self,matrix,cp[i].x,cp[i].y,cp[i+1].x,cp[i+1].y,cp[i+2].x,cp[i+2].y);
O2PathCloseSubpath(self);
}

void O2PathAddPath(O2MutablePathRef self,const O2AffineTransform *matrix,O2PathRef path) {
Expand Down

0 comments on commit 5aebff0

Please sign in to comment.