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

Unified Diff: Source/platform/transforms/AffineTransform.h

Issue 166273019: Add rotateRadians function to AffineTransform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/platform/transforms/AffineTransform.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/transforms/AffineTransform.h
diff --git a/Source/platform/transforms/AffineTransform.h b/Source/platform/transforms/AffineTransform.h
index cb48ed0c5533863df090b0f57f9287f46b298f2e..c402cc6a9a0110f143edef476a7b14d49555e30b 100644
--- a/Source/platform/transforms/AffineTransform.h
+++ b/Source/platform/transforms/AffineTransform.h
@@ -90,7 +90,8 @@ public:
AffineTransform& scale(double);
AffineTransform& scale(double sx, double sy);
AffineTransform& scaleNonUniform(double sx, double sy);
- AffineTransform& rotate(double d);
+ AffineTransform& rotate(double a);
+ AffineTransform& rotateRadians(double a);
AffineTransform& rotateFromVector(double x, double y);
AffineTransform& translate(double tx, double ty);
AffineTransform& shear(double sx, double sy);
« no previous file with comments | « no previous file | Source/platform/transforms/AffineTransform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698