Refs #1778. Store clockwise parameter with right name.

The name has to match what we ultimately use in CGContextCanvas and CGContextVML.
This commit is contained in:
Alexander Ljungberg committed 2013-02-19 11:50:47 +00:00
1 parent 4a0dd80c5a
commit a63f185ba9
1 file changed
+2 -2
+2 -2
View File
@@ -113,7 +113,7 @@ function CGPathAddArc(aPath, aTransform, x, y, aRadius, aStartAngle, anEndAngle,
}
aPath.current = _CGPointMake(x + aRadius * COS(anEndAngle), y + aRadius * SIN(anEndAngle));
aPath.elements[aPath.count++] = { type:kCGPathElementAddArc, x:x, y:y, radius:aRadius, startAngle:aStartAngle, endAngle:anEndAngle, isClockwise:isClockwise};
aPath.elements[aPath.count++] = { type:kCGPathElementAddArc, x:x, y:y, radius:aRadius, startAngle:aStartAngle, endAngle:anEndAngle, clockwise:isClockwise };
}
function CGPathAddArcToPoint(aPath, aTransform, x1, y1, x2, y2, aRadius)
@@ -197,7 +197,7 @@ function CGPathAddPath(aPath, aTransform, anotherPath)
case kCGPathElementAddArc:
CGPathAddArc(aPath, aTransform, element.x, element.y,
element.radius, element.startAngle,
element.endAngle, element.isClockwise);
element.endAngle, element.clockwise);
break;
case kCGPathElementAddArcToPoint: