Chromium Code Reviews| Index: include/core/SkCanvas.h |
| diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
| index 7235efb2f0a9cd3b23132541d9c695b0c81e1704..4709f40bcaa49d18eb326e77f2d06d4a4194a530 100644 |
| --- a/include/core/SkCanvas.h |
| +++ b/include/core/SkCanvas.h |
| @@ -338,6 +338,12 @@ public: |
| */ |
| virtual bool rotate(SkScalar degrees); |
| + /** Preconcat the current matrix with the specified rotation. |
| + @param degrees The amount to rotate, in radians |
|
bsalomon
2014/02/24 17:35:56
The param is called "radians".
|
| + returns true if the operation succeeded (e.g. did not overflow) |
| + */ |
| + virtual bool rotateRadians(SkScalar radians); |
| + |
| /** Preconcat the current matrix with the specified skew. |
| @param sx The amount to skew in X |
| @param sy The amount to skew in Y |