Lines Matching refs:xform
62 void apply(SkRSXform* xform) const { in onDraw()
64 xform->fSCos = fScale * SkScalarCos(rad); in onDraw()
65 xform->fSSin = fScale * SkScalarSin(rad); in onDraw()
66 xform->fTx = fTx; in onDraw()
67 xform->fTy = fTy; in onDraw()
77 SkRSXform xform[N]; in onDraw() local
82 rec[i].apply(&xform[i]); in onDraw()
91 canvas->drawAtlas(atlas.get(), xform, tex, N, nullptr, &paint); in onDraw()
93 canvas->drawAtlas(atlas.get(), xform, tex, colors, N, SkBlendMode::kSrcIn, nullptr, &paint); in onDraw()
115 SkRSXform* xform = (SkRSXform*)storage.get(); local
116 SkScalar* widths = (SkScalar*)(xform + count);
139 xform[i].fSCos = tan.x();
140 xform[i].fSSin = tan.y();
141 xform[i].fTx = pos.x() - tan.y() * xy[i].y() - tan.x() * offset;
142 xform[i].fTy = pos.y() + tan.x() * xy[i].y() - tan.y() * offset;
146 &xform[0], font, kGlyphID_SkTextEncoding),
266 const SkRSXform xform = SkRSXform::Make(1, 0, 0, 0); variable
288 canvas->drawAtlas(image, &xform, &tex, &color, 1,