| Index: include/core/SkMatrix.h
|
| diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
|
| index 8394c38752c20998c9f3457c8b21860026a61341..e225336bd845218eea5c91feb4492a929df8aab1 100644
|
| --- a/include/core/SkMatrix.h
|
| +++ b/include/core/SkMatrix.h
|
| @@ -590,6 +590,15 @@ public:
|
| static const SkMatrix& InvalidMatrix();
|
|
|
| /**
|
| + * Return the concatenation of two matrices, a * b.
|
| + */
|
| + static SkMatrix Concat(const SkMatrix& a, const SkMatrix& b) {
|
| + SkMatrix result;
|
| + result.setConcat(a, b);
|
| + return result;
|
| + }
|
| +
|
| + /**
|
| * Testing routine; the matrix's type cache should never need to be
|
| * manually invalidated during normal use.
|
| */
|
|
|