Lines Matching refs:SkMatrix
2 #include "SkMatrix.h"
16 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) {
26 static bool is_identity(const SkMatrix& m) {
27 SkMatrix identity;
32 static void test_flatten(skiatest::Reporter* reporter, const SkMatrix& m) {
34 char buffer[SkMatrix::kMaxFlattenSize + 100];
38 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize);
40 SkMatrix m2;
45 char buffer2[SkMatrix::kMaxFlattenSize + 100];
52 SkMatrix mat, inverse, iden1, iden2;
109 SkMatrix m;
112 m.set(SkMatrix::kMScaleX, gRectStaysRectSamples[i].m00);
113 m.set(SkMatrix::kMSkewX, gRectStaysRectSamples[i].m01);
114 m.set(SkMatrix::kMSkewY, gRectStaysRectSamples[i].m10);
115 m.set(SkMatrix::kMScaleY, gRectStaysRectSamples[i].m11);