Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1237)

Unified Diff: Source/core/html/canvas/CanvasPathMethods.h

Issue 14298022: Add support for new canvas ellipse method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make canvas-ellipse-360-winding.html for virtual/gpu pass. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/CanvasPathMethods.h
diff --git a/Source/core/html/canvas/CanvasPathMethods.h b/Source/core/html/canvas/CanvasPathMethods.h
index ac5b065492877a20c0b36c527f66abc7b5147e07..187bd2e103f980f502ce2e85a17aa96240e41006 100644
--- a/Source/core/html/canvas/CanvasPathMethods.h
+++ b/Source/core/html/canvas/CanvasPathMethods.h
@@ -47,6 +47,7 @@ public:
void bezierCurveTo(float cp1x, float cp1y, float cp2x, float cp2y, float x, float y);
void arcTo(float x0, float y0, float x1, float y1, float radius, ExceptionState&);
void arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState&);
+ void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionState&);
void rect(float x, float y, float width, float height);
virtual bool isTransformInvertible() const { return true; }
« no previous file with comments | « LayoutTests/fast/canvas/script-tests/js-ellipse-implementation.js ('k') | Source/core/html/canvas/CanvasPathMethods.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698