Lines Matching refs:SkIntToScalar
46 canvas->translate(SkIntToScalar(bm.width() + 5), 0);
47 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf);
51 canvas->translate(SkIntToScalar(bm.width()*2 + 5), 0);
53 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
54 SkIntToScalar(bm.height() / 2));
56 canvas->translate(0, SkIntToScalar(10));
61 canvas->translate(SkIntToScalar(bm.width() + 15), 0);
63 matrix.setPerspX(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)));
64 matrix.setPerspY(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000)));
68 canvas->translate(SkIntToScalar(bm.width() + 5), 0);
70 matrix.setSkew(SkIntToScalar(2), SkIntToScalar(2));
74 canvas->translate(SkIntToScalar(bm.width() * 4), 0);
76 matrix.setSinCos(SK_ScalarHalf, SkIntToScalar(2));
93 canvas->translate(SkIntToScalar(bm.width()*2 + 20), 0);
96 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
97 SkIntToScalar(bm.height() / 2));
100 canvas->translate(0, SkIntToScalar(20));
120 SkRect rect = SkRect::MakeWH(SkIntToScalar(SIZE), SkIntToScalar(SIZE));