Home | History | Annotate | Download | only in samplecode

Lines Matching refs:Cols

144     const int Cols = 16;
145 SkPoint pts[Rows * Cols];
146 patch.evalPatch(pts, Rows, Cols);
157 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
187 const int Cols = 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,
222 int cols() const { return fCols; }
268 void Mesh::init(const SkRect& bounds, int rows, int cols,
270 SkASSERT(rows > 0 && cols > 0);
274 fCols = cols;
277 fCount = (rows + 1) * (cols + 1);
282 fIndexCount = rows * cols * 6;
287 const SkScalar dy = bounds.height() / cols;
290 const SkScalar dty = texture.height() / cols;
293 for (int y = 0; y <= cols; y++) {
300 if (y < cols && x < rows) {
424 for (int x = 0; x < fMesh.cols(); x++) {