Lines Matching refs:matrices
98 SkMatrix matrices[4]; in onDraw() local
100 matrices[0].setRotate(30); in onDraw()
101 matrices[0].postTranslate(d / 3, 0); in onDraw()
109 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw()
110 matrices[1].postTranslate(d, 50.f); in onDraw()
112 matrices[2].setRotate(-60.f); in onDraw()
113 matrices[2].postSkew(0.5f, -1.15f); in onDraw()
114 matrices[2].postScale(0.6f, 1.05f); in onDraw()
115 matrices[2].postTranslate(d, 2.6f * d); in onDraw()
121 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw()
122 matrices[3].postTranslate(100.f, d); in onDraw()
124 for (size_t m = 0; m < SK_ARRAY_COUNT(matrices); ++m) { in onDraw()
134 matrices[m].mapPoints(pts, 2); in onDraw()
141 matrices[m].mapPoints(pts, 2); in onDraw()
147 canvas->concat(matrices[m]); in onDraw()
189 SkMatrix matrices[5]; in onDraw() local
191 matrices[0].reset(); in onDraw()
193 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw()
195 matrices[2].setScale(2.f, 0.5f); in onDraw()
197 matrices[3].setScale(-1.f, -1.f); in onDraw()
198 matrices[3].postTranslate(kW, kH); in onDraw()
200 matrices[4].setScale(1.f, -1.f); in onDraw()
201 matrices[4].postTranslate(0, kH); in onDraw()
202 matrices[4].postRotate(90, kW / 2.f, kH / 2.f); in onDraw()
203 matrices[4].postScale(2.f, 0.5f); in onDraw()
211 for (size_t m = 0; m < SK_ARRAY_COUNT(matrices); ++m) { in onDraw()
213 canvas->concat(matrices[m]); in onDraw()
234 for (size_t m = 0; m < SK_ARRAY_COUNT(matrices); ++m) { in onDraw()
236 canvas->concat(matrices[m]); in onDraw()