Chromium Code Reviews

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: Complete degenerateEllipse. Make canvas-ellipse-zero-lineto.html cover various degenerate edge case… Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/canvas/CanvasPathMethods.h
diff --git a/Source/core/html/canvas/CanvasPathMethods.h b/Source/core/html/canvas/CanvasPathMethods.h
index 675d41b2440b1147490a1df512eff42dae28f636..403a80ef7d13907ec77c95576ee7f86de32bf123 100644
--- a/Source/core/html/canvas/CanvasPathMethods.h
+++ b/Source/core/html/canvas/CanvasPathMethods.h
@@ -48,6 +48,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, ExceptionCode&);
void arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionCode&);
+ void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionCode&);
void rect(float x, float y, float width, float height);
virtual bool isTransformInvertible() const { return true; }

Powered by Google App Engine