23 { 0.5f, 0.5f, 530, 0 },
24 { 0.25f, 0.25f, 530, 275 },
25 { 0.125f, 0.125f, 530, 420 },
38 canvas->clear(0xFF888888);
40 canvas->translate(20, 20);
41 for (
const auto& xform :
xforms) {
43 canvas->translate(xform.fTx, xform.fTy);
44 canvas->scale(xform.fSx, xform.fSy);
57 canvas->clipRect(inner);
60 canvas->drawRect(outer, overlayPaint);
void setColor(SkColor color)
sk_sp< const SkImage > image
PODArray< SkRSXform > xforms
SkSamplingOptions sampling
DEF_SIMPLE_GM(skbug_8664, canvas, 830, 550)
SkRect makeOutset(float dx, float dy) const
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)