Chromium Code Reviews| Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
| index 8c57a66887e7a474f8b0e3fb54f20274d57d6068..f0acfb24c3f17c2af3fd6e6852234ee01ce4ed85 100644 |
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
| @@ -155,7 +155,9 @@ public: |
| void clip(DOMPath*, const String& winding = "nonzero"); |
| bool isPointInPath(const float x, const float y, const String& winding = "nonzero"); |
| + bool isPointInPath(DOMPath*, const float x, const float y, const String& winding = "nonzero"); |
|
Rik
2014/02/25 07:46:45
should the DOMPath have a name?
|
| bool isPointInStroke(const float x, const float y); |
| + bool isPointInStroke(DOMPath*, const float x, const float y); |
| void clearRect(float x, float y, float width, float height); |
| void fillRect(float x, float y, float width, float height); |
| @@ -309,6 +311,9 @@ private: |
| void strokeInternal(const Path&); |
| void clipInternal(const Path&, const String& windingRuleString); |
| + bool isPointInPathInternal(const Path&, const float x, const float y, const String& windingRuleString); |
|
Rik
2014/02/25 07:46:45
same here.
|
| + bool isPointInStrokeInternal(const Path&, const float x, const float y); |
| + |
| void drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth = 0, bool useMaxWidth = false); |
| const Font& accessFont(); |