X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fplatform%2Fgraphics%2FPath.h;h=c2ca5762767f073d829b5dfb1534afd64bd1d535;hp=852d88e0a314d3df0e94725127cb8ab79bb1dc64;hb=672afaadde91744f5d1e447cb96528e840df21c1;hpb=e691fbea4ee79a8c046bc21a68f88841e389f223 diff --git a/Source/WebCore/platform/graphics/Path.h b/Source/WebCore/platform/graphics/Path.h index 852d88e..c2ca576 100644 --- a/Source/WebCore/platform/graphics/Path.h +++ b/Source/WebCore/platform/graphics/Path.h @@ -49,7 +49,7 @@ namespace WebCore { class CairoPath; } typedef WebCore::CairoPath PlatformPath; -#elif PLATFORM(SKIA) +#elif USE(SKIA) class SkPath; typedef SkPath PlatformPath; #elif PLATFORM(HAIKU) @@ -112,11 +112,11 @@ namespace WebCore { bool contains(const FloatPoint&, WindRule rule = RULE_NONZERO) const; bool strokeContains(StrokeStyleApplier*, const FloatPoint&) const; FloatRect boundingRect() const; - FloatRect strokeBoundingRect(StrokeStyleApplier* = 0); + FloatRect strokeBoundingRect(StrokeStyleApplier* = 0) const; - float length(); - FloatPoint pointAtLength(float length, bool& ok); - float normalAngleAtLength(float length, bool& ok); + float length() const; + FloatPoint pointAtLength(float length, bool& ok) const; + float normalAngleAtLength(float length, bool& ok) const; void clear(); bool isEmpty() const;