D | arithmode.cpp | 33 #define WW 100 macro 37 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(WW, HH)); in make_src() 41 SkPoint pts[] = { {0, 0}, {SkIntToScalar(WW), SkIntToScalar(HH)} }; in make_src() 53 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(WW, HH)); in make_dst() 57 SkPoint pts[] = { {0, SkIntToScalar(HH)}, {SkIntToScalar(WW), 0} }; in make_dst() 110 const SkRect rect = SkRect::MakeWH(WW, HH); in onDraw() 111 SkScalar gap = SkIntToScalar(WW + 20); in onDraw()
|