Lines Matching defs:xform
80 SkRSXform xform[kGrid*kGrid+1];
106 xform[currIndex] = SkRSXform::MakeFromRadians(2.0f, SK_ScalarPI*0.5f,
112 xform[currIndex] = SkRSXform::MakeFromRadians(2.0f, SK_ScalarPI*0.5f,
145 SkScalar c = xform[i].fSCos;
146 SkScalar s = xform[i].fSSin;
151 xform[i].fSCos = kCosDiff*c - kSinDiff*s;
152 xform[i].fSSin = kSinDiff*c + kCosDiff*s;
154 dx -= xform[i].fSCos*anchorX - xform[i].fSSin*anchorY;
155 dy -= xform[i].fSSin*anchorX + xform[i].fSCos*anchorY;
156 xform[i].fTx += dx;
157 xform[i].fTy += dy;
161 canvas->drawAtlas(atlas, xform, tex, nullptr, kGrid*kGrid+1, SkXfermode::kSrcOver_Mode,