Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index 022b9cf5189b763db2276fd6238e27192e41ae3a..11c99e22ce553f20bd608eefd5ed1c293c84ceb8 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); |
@@ -307,6 +310,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(); |
@@ -316,6 +321,7 @@ private: |
bool rectContainsTransformedRect(const FloatRect&, const FloatRect&) const; |
void inflateStrokeRect(FloatRect&) const; |
+ void absoluteBoundingPathRect(const Path&, LayoutRect&) const; |
template<class T> void fullCanvasCompositedFill(const T&); |
template<class T> void fullCanvasCompositedDrawImage(T*, const FloatRect&, const FloatRect&, CompositeOperator); |