Fix for KAPPA missing in CGPath. Looks like it was auto-merged out.

This commit is contained in:
Ross Boucher committed 2009-05-31 12:12:51 -07:00
1 parent 3e1f09bb7a
commit 35947697f2
1 file changed
+2
+2
View File
@@ -250,6 +250,8 @@ function CGPathMoveToPoint(aPath, aTransform, x, y)
aPath.elements[aPath.count++] = { type:kCGPathElementMoveToPoint, x:point.x, y:point.y };
}
var KAPPA = 4.0 * ((SQRT2 - 1.0) / 3.0);
function CGPathWithEllipseInRect(aRect)
{
var path = CGPathCreateMutable();