• Home
  • Raw
  • Download

Lines Matching refs:paint

38     SkPaint paint;  in draw_control_points()  local
48 paint.setColor(SK_ColorBLACK); in draw_control_points()
49 paint.setStrokeWidth(0.5f); in draw_control_points()
51 canvas->drawPoints(SkCanvas::kLines_PointMode, 4, bottom, paint); in draw_control_points()
52 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, bottom + 1, paint); in draw_control_points()
53 canvas->drawPoints(SkCanvas::kLines_PointMode, 4, top, paint); in draw_control_points()
54 canvas->drawPoints(SkCanvas::kLines_PointMode, 4, left, paint); in draw_control_points()
55 canvas->drawPoints(SkCanvas::kLines_PointMode, 4, right, paint); in draw_control_points()
57 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, top + 1, paint); in draw_control_points()
58 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, left + 1, paint); in draw_control_points()
59 canvas->drawPoints(SkCanvas::kLines_PointMode, 2, right + 1, paint); in draw_control_points()
61 paint.setStrokeWidth(2); in draw_control_points()
63 paint.setColor(SK_ColorRED); in draw_control_points()
64 canvas->drawPoints(SkCanvas::kPoints_PointMode, 4, corners, paint); in draw_control_points()
66 paint.setColor(SK_ColorBLUE); in draw_control_points()
67 canvas->drawPoints(SkCanvas::kPoints_PointMode, 2, bottom + 1, paint); in draw_control_points()
69 paint.setColor(SK_ColorCYAN); in draw_control_points()
70 canvas->drawPoints(SkCanvas::kPoints_PointMode, 2, top + 1, paint); in draw_control_points()
72 paint.setColor(SK_ColorYELLOW); in draw_control_points()
73 canvas->drawPoints(SkCanvas::kPoints_PointMode, 2, left + 1, paint); in draw_control_points()
75 paint.setColor(SK_ColorGREEN); in draw_control_points()
76 canvas->drawPoints(SkCanvas::kPoints_PointMode, 2, right + 1, paint); in draw_control_points()
97 SkPaint paint; in dopatch() local
129 canvas->drawPatch(gCubics, nullptr, nullptr, modes[y], paint); in dopatch()
132 canvas->drawPatch(gCubics, colors, nullptr, modes[y], paint); in dopatch()
135 paint.setShader(shader); in dopatch()
136 canvas->drawPatch(gCubics, nullptr, tex, modes[y], paint); in dopatch()
137 paint.setShader(nullptr); in dopatch()
140 paint.setShader(shader); in dopatch()
141 canvas->drawPatch(gCubics, colors, tex, modes[y], paint); in dopatch()
142 paint.setShader(nullptr); in dopatch()
181 SkPaint paint; variable
182 canvas->drawPatch(gCubics, colors, nullptr, SkBlendMode::kModulate, paint);
192 paint.setColor(colors[0]);
193 canvas->drawPath(path, paint);