Home
last modified time | relevance | path

Searched refs:pointPaint (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/docs/examples/
DSkPath_arcto_conic_parametric.cpp35 SkPaint pointPaint; in draw() local
36 pointPaint.setAntiAlias(true); in draw()
37 pointPaint.setStrokeWidth(8); in draw()
38 pointPaint.setStrokeCap(SkPaint::kRound_Cap); in draw()
39 pointPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw()
58 canvas->drawPoint(p.x(), p.y(), pointPaint); in draw()
60 pointPaint.setColor(SkColorSetARGB(255, 255, 0, 0)); in draw()
61 canvas->drawPoint(p0.x(), p0.y(), pointPaint); in draw()
62 canvas->drawPoint(p1.x(), p1.y(), pointPaint); in draw()
63 canvas->drawPoint(p2.x(), p2.y(), pointPaint); in draw()
DSkPath_arcto_conic_parametric2.cpp53 SkPaint pointPaint; in draw() local
54 pointPaint.setAntiAlias(true); in draw()
55 pointPaint.setStrokeWidth(8); in draw()
56 pointPaint.setStrokeCap(SkPaint::kRound_Cap); in draw()
57 pointPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw()
79 canvas->drawPoint(p.x(), p.y(), pointPaint); in draw()
81 pointPaint.setColor(SkColorSetARGB(255, 255, 0, 0)); in draw()
82 canvas->drawPoint(p0.x(), p0.y(), pointPaint); in draw()
83 canvas->drawPoint(p1.x(), p1.y(), pointPaint); in draw()
84 canvas->drawPoint(p2.x(), p2.y(), pointPaint); in draw()
DSkPath_cubicTo_example_parametric_animated.cpp88 SkPaint pointPaint; in draw() local
89 pointPaint.setAntiAlias(true); in draw()
90 pointPaint.setStrokeWidth(8); in draw()
91 pointPaint.setStrokeCap(SkPaint::kRound_Cap); in draw()
93 pointPaint.setColor(SkColorSetARGB(255, 255, 0, 0)); in draw()
94 canvas->drawPoint(interpolate(abc, bcd, frame), pointPaint); in draw()
96 pointPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw()
97 pointPaint.setStrokeWidth(7); in draw()
98 canvas->drawPoint(cubic(a, b, c, d, frame), pointPaint); in draw()
DSkPath_cubicTo_example_parametric.cpp64 SkPaint pointPaint; in draw() local
65 pointPaint.setAntiAlias(true); in draw()
66 pointPaint.setStrokeWidth(8); in draw()
67 pointPaint.setStrokeCap(SkPaint::kRound_Cap); in draw()
68 pointPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw()
72 canvas->drawPoint(p.x(), p.y(), pointPaint); in draw()
74 pointPaint.setColor(SkColorSetARGB(255, 255, 0, 0)); in draw()
DSkPath_quadTo_example_parametric.cpp54 SkPaint pointPaint; in draw() local
55 pointPaint.setAntiAlias(true); in draw()
56 pointPaint.setStrokeWidth(8); in draw()
57 pointPaint.setStrokeCap(SkPaint::kRound_Cap); in draw()
58 pointPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw()
62 canvas->drawPoint(p.x(), p.y(), pointPaint); in draw()
DSkPath_quadTo_example_parametric_animated.cpp72 SkPaint pointPaint; in draw() local
73 pointPaint.setAntiAlias(true); in draw()
74 pointPaint.setStrokeWidth(8); in draw()
75 pointPaint.setStrokeCap(SkPaint::kRound_Cap); in draw()
76 pointPaint.setColor(SkColorSetARGB(255, 0, 255, 0)); in draw()
77 draw_point(canvas, quad(a, b, c, frame), pointPaint); in draw()