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

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

Issue 18286007: Fix edge case bugs of canvas arc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ellipse
Patch Set: Test uses alpha color to check darkening of paths on the double-rasterized region. 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 f5b51a589895eb9cab822e009adab7013c437785..ac5b065492877a20c0b36c527f66abc7b5147e07 100644
--- a/Source/core/html/canvas/CanvasPathMethods.h
+++ b/Source/core/html/canvas/CanvasPathMethods.h
@@ -46,7 +46,7 @@ public:
void quadraticCurveTo(float cpx, float cpy, float x, float y);
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 r, float sa, float ea, bool anticlockwise, ExceptionState&);
+ void arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState&);
void rect(float x, float y, float width, float height);
virtual bool isTransformInvertible() const { return true; }

Powered by Google App Engine
This is Rietveld 408576698