8 SkRect tex[] = { { 0, 0, 250, 250 }, { 0, 0, 250, 250 } };
REG_FIDDLE(Canvas_drawAtlas, 256, 256, false, 3)
@ kSrcOver
r = s + (1-sa)*d
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