Home | History | Annotate | Download | only in gm

Lines Matching defs:matrices

62         SkTDArray<LabeledMatrix> matrices;
63 matrices.append()->fMatrix.reset();
64 matrices.top().fLabel = "Identity";
65 matrices.append()->fMatrix.setScale(1.2f, 0.8f);
66 matrices.top().fLabel = "Scale";
67 matrices.append()->fMatrix.setRotate(10.f);
68 matrices.top().fLabel = "Rotate";
69 matrices.append()->fMatrix.reset();
70 matrices.top().fMatrix.setPerspX(-0.0015f);
71 matrices.top().fMatrix.setPerspY(+0.0015f);
72 matrices.top().fLabel = "Persp";
127 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel),
129 SkScalar labelW = labelPaint.measureText(matrices[lm].fLabel,
130 strlen(matrices[lm].fLabel));
142 for (int m = 0; m < matrices.count(); ++m) {
145 canvas->drawText(matrices[m].fLabel, strlen(matrices[m].fLabel),
157 canvas->concat(matrices[m].fMatrix);
173 canvas->concat(matrices[m].fMatrix);