Searched defs:Translate (Results 1 – 1 of 1) sorted by relevance
175 struct Translate final : Op { struct176 static const auto kType = Type::Translate;177 Translate(SkScalar dx, SkScalar dy) : dx(dx), dy(dy) {} in Translate() function178 SkScalar dx, dy;179 void draw(SkCanvas* c, const SkMatrix&) const { c->translate(dx, dy); } in draw()