8 SkRect tex[] = { { 0, 0, 250, 250 }, { 0, 0, 250, 250 } };
REG_FIDDLE(Canvas_drawAtlas_2, 256, 256, false, 3)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawAtlas(const SkImage *atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions &sampling, const SkRect *cullRect, const SkPaint *paint)
sk_sp< const SkImage > image
PODArray< SkRSXform > xforms
PODArray< SkColor > colors
SkSamplingOptions sampling