D | arithmode.cpp | 20 #define WW 100 macro 24 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(WW, HH)); in make_src() 28 SkPoint pts[] = { {0, 0}, {SkIntToScalar(WW), SkIntToScalar(HH)} }; in make_src() 40 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(WW, HH)); in make_dst() 44 SkPoint pts[] = { {0, SkIntToScalar(HH)}, {SkIntToScalar(WW), 0} }; in make_dst() 104 const SkRect rect = SkRect::MakeWH(WW, HH); in onDraw() 105 SkScalar gap = SkIntToScalar(WW + 20); in onDraw()
|