Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index c5b9efadd002a6999f58f16aa4f27baf7a0b752a..3566bcd4cc9e57db44413bb3897c355f04aebefa 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -164,6 +164,9 @@ public: |
bool isPointInStroke(const float x, const float y); |
bool isPointInStroke(Path2D*, const float x, const float y, ExceptionState&); |
+ void scrollPathIntoView(); |
+ void scrollPathIntoView(Path2D*, ExceptionState&); |
+ |
void clearRect(float x, float y, float width, float height); |
void fillRect(float x, float y, float width, float height); |
void strokeRect(float x, float y, float width, float height); |
@@ -304,6 +307,8 @@ private: |
bool isPointInPathInternal(const Path&, const float x, const float y, const String& windingRuleString); |
bool isPointInStrokeInternal(const Path&, const float x, const float y); |
+ void scrollPathIntoViewInternal(const Path&); |
+ |
void drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth = 0, bool useMaxWidth = false); |
const Font& accessFont(); |