2009-07-14 Dmitry Titov <dimich@chromium.org>
[WebKit-https.git] / WebCore / platform / graphics / cairo / PathCairo.cpp
index 13ca1e2..75681bd 100644 (file)
@@ -89,6 +89,11 @@ bool Path::isEmpty() const
 #endif
 }
 
+bool Path::hasCurrentPoint() const
+{
+    return !isEmpty();
+}
+
 void Path::translate(const FloatSize& p)
 {
     cairo_t* cr = platformPath()->m_cr;