Home
last modified time | relevance | path

Searched refs:ctrlPts (Results 1 – 3 of 3) sorted by relevance

/external/skia/samplecode/
DSampleHairCurves.cpp31 SkPath ctrlPts; in onDrawContent() local
49 ctrlPts.addCircle(pts[0], pts[1], SK_Scalar1 / 200); in onDrawContent()
50 ctrlPts.addCircle(pts[2], pts[3], SK_Scalar1 / 200); in onDrawContent()
51 ctrlPts.addCircle(pts[4], pts[5], SK_Scalar1 / 200); in onDrawContent()
52 ctrlPts.addCircle(pts[6], pts[7], SK_Scalar1 / 200); in onDrawContent()
68 ctrlPts.addCircle(pts[0], pts[1], SK_Scalar1 / 200); in onDrawContent()
69 ctrlPts.addCircle(pts[2], pts[3], SK_Scalar1 / 200); in onDrawContent()
70 ctrlPts.addCircle(pts[4], pts[5], SK_Scalar1 / 200); in onDrawContent()
89 ctrlPts.addCircle(pts[0], pts[1], SK_Scalar1 / 200); in onDrawContent()
90 ctrlPts.addCircle(pts[2], pts[3], SK_Scalar1 / 200); in onDrawContent()
[all …]
DSampleVariableWidthStroker.cpp1218 std::vector<SkPoint> pointsVec, ctrlPts; in drawStrokePoints() local
1225 ctrlPts.push_back(points[1]); in drawStrokePoints()
1244 canvas->drawPoints(SkCanvas::kPoints_PointMode, ctrlPts.size(), ctrlPts.data(), in drawStrokePoints()
/external/skqp/samplecode/
DSampleHairCurves.cpp38 SkPath ctrlPts; in onDrawContent() local
56 ctrlPts.addCircle(pts[0], pts[1], SK_Scalar1 / 200); in onDrawContent()
57 ctrlPts.addCircle(pts[2], pts[3], SK_Scalar1 / 200); in onDrawContent()
58 ctrlPts.addCircle(pts[4], pts[5], SK_Scalar1 / 200); in onDrawContent()
59 ctrlPts.addCircle(pts[6], pts[7], SK_Scalar1 / 200); in onDrawContent()
75 ctrlPts.addCircle(pts[0], pts[1], SK_Scalar1 / 200); in onDrawContent()
76 ctrlPts.addCircle(pts[2], pts[3], SK_Scalar1 / 200); in onDrawContent()
77 ctrlPts.addCircle(pts[4], pts[5], SK_Scalar1 / 200); in onDrawContent()
96 ctrlPts.addCircle(pts[0], pts[1], SK_Scalar1 / 200); in onDrawContent()
97 ctrlPts.addCircle(pts[2], pts[3], SK_Scalar1 / 200); in onDrawContent()
[all …]