34 paint.setAntiAlias(
true);
36 bool success =
m.invert(&
m);
44 canvas->drawCircle(pt.
fX, pt.
fY, small,
paint);
53 uint32_t* pixels =
reinterpret_cast<uint32_t*
>(bmp.
getPixels());
65 paint.setAntiAlias(
false);
66 rect.setLTRB(pt.
fX - small, pt.
fY - small, pt.
fX + small, pt.
fY + small);
static SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
constexpr SkColor SK_ColorRED
DEF_SIMPLE_GM_BG(bigmatrix, canvas, 50, 50, ToolUtils::color_to_565(0xFF66AA99))
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
void allocN32Pixels(int width, int height, bool isOpaque=false)
sk_sp< SkBlender > blender SkRect rect
void set(float x, float y)