Lines Matching full:points
177 struct Points : public Prim {
178 Points(SkCanvas::PointMode mode) : fMode(mode) {}
182 SkPoint points[500];
184 int count = SkToInt(SK_ARRAY_COUNT(points));
189 points[p].fX = random.nextUScalar1() * bounds.width();
190 points[p].fY = random.nextUScalar1() * bounds.width();
192 canvas->drawPoints(fMode, count, points, paint);
224 fPrims.push_back(new Points(SkCanvas::kPoints_PointMode));
225 fPrims.push_back(new Points(SkCanvas::kLines_PointMode));
226 fPrims.push_back(new Points(SkCanvas::kPolygon_PointMode));