From 35947697f2adba29428da0e5719c2dc5599c55cf Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Sun, 31 May 2009 12:12:51 -0700 Subject: [PATCH] Fix for KAPPA missing in CGPath. Looks like it was auto-merged out. --- AppKit/CoreGraphics/CGPath.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AppKit/CoreGraphics/CGPath.j b/AppKit/CoreGraphics/CGPath.j index 017317c3f..0964d02f6 100644 --- a/AppKit/CoreGraphics/CGPath.j +++ b/AppKit/CoreGraphics/CGPath.j @@ -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();