SampleWarp.cpp | 143 const int Rows = 16; 145 SkPoint pts[Rows * Cols]; 146 patch.evalPatch(pts, Rows, Cols); 157 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint); 186 const int Rows = 16; 188 SkPoint pts[Rows * Cols]; 189 patch.evalPatch(pts, Rows, Cols); 204 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint); 216 void init(const SkRect& bounds, int rows, int cols, 221 int rows() const { return fRows; function in class:Mesh [all...] |