Lines Matching refs:matrices
118 SkMatrix matrices[4]; in onDraw() local
120 matrices[0].setRotate(30); in onDraw()
121 matrices[0].postTranslate(d / 3, 0); in onDraw()
129 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw()
130 matrices[1].postTranslate(d, 50.f); in onDraw()
132 matrices[2].setRotate(-60.f); in onDraw()
133 matrices[2].postSkew(0.5f, -1.15f); in onDraw()
134 matrices[2].postScale(0.6f, 1.05f); in onDraw()
135 matrices[2].postTranslate(d, 2.6f * d); in onDraw()
141 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw()
142 matrices[3].postTranslate(100.f, d); in onDraw()
148 for (size_t m = 0; m < SK_ARRAY_COUNT(matrices); ++m) { in onDraw()
158 matrices[m].mapPoints(pts, 2); in onDraw()
165 matrices[m].mapPoints(pts, 2); in onDraw()
171 canvas->concat(matrices[m]); in onDraw()
223 SkMatrix matrices[5]; in onDraw() local
225 matrices[0].reset(); in onDraw()
227 matrices[1].setRotate(90, kW / 2.f, kH / 2.f); in onDraw()
229 matrices[2].setScale(2.f, 0.5f); in onDraw()
231 matrices[3].setScale(-1.f, -1.f); in onDraw()
232 matrices[3].postTranslate(kW, kH); in onDraw()
234 matrices[4].setScale(1.f, -1.f); in onDraw()
235 matrices[4].postTranslate(0, kH); in onDraw()
236 matrices[4].postRotate(90, kW / 2.f, kH / 2.f); in onDraw()
237 matrices[4].postScale(2.f, 0.5f); in onDraw()
248 for (size_t m = 0; m < SK_ARRAY_COUNT(matrices); ++m) { in onDraw()
250 canvas->concat(matrices[m]); in onDraw()
272 for (size_t m = 0; m < SK_ARRAY_COUNT(matrices); ++m) { in onDraw()
274 canvas->concat(matrices[m]); in onDraw()