2006-09-26 Eric Seidel <eric@eseidel.com>
[WebKit-https.git] / WebCore / kcanvas / device / quartz / QuartzSupport.mm
index 860e4ef102c6bfcf3d44be823ad00861d7aa43ab..f9e4f05a4de567694592e82de79a1c18bcbd7ef0 100644 (file)
@@ -129,20 +129,6 @@ FloatRect strokeBoundingBox(const Path& path, const KRenderingStrokePainter& str
     return FloatRect(box);
 }
 
     return FloatRect(box);
 }
 
-bool pathContainsPoint(CGMutablePathRef cgPath, const FloatPoint& point, CGPathDrawingMode drawMode)
-{
-   CGContextRef context = scratchContext();
-   CGContextSaveGState(context);
-   
-   CGContextBeginPath(context);
-   CGContextAddPath(context, cgPath);
-   bool hitSuccess = CGContextPathContainsPoint(context, point, drawMode);
-
-   CGContextRestoreGState(context);
-
-   return hitSuccess;
-}
-
 }
 
 #endif // SVG_SUPPORT
 }
 
 #endif // SVG_SUPPORT