• Home
  • Raw
  • Download

Lines Matching refs:SkPaint

21 void draw_arcs(SkCanvas* canvas, std::function<void(SkPaint*)> configureStyle) {  in draw_arcs()
25 SkPaint p0; in draw_arcs()
30 SkPaint p1 = p0; in draw_arcs()
60 SkPaint linePaint; in draw_arcs()
70 auto setFill = [] (SkPaint*p) { p->setStyle(SkPaint::kFill_Style); }; in DEF_ARC_GM()
75 auto setHairline = [] (SkPaint* p) { in DEF_ARC_GM()
76 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM()
83 auto setStroke = [](SkPaint* p) { in DEF_ARC_GM()
84 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM()
85 p->setStrokeCap(SkPaint::kButt_Cap); in DEF_ARC_GM()
91 auto setStroke = [] (SkPaint* p) { in DEF_ARC_GM()
92 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM()
93 p->setStrokeCap(SkPaint::kSquare_Cap); in DEF_ARC_GM()
99 auto setStroke = [] (SkPaint* p) { in DEF_ARC_GM()
100 p->setStyle(SkPaint::kStroke_Style); in DEF_ARC_GM()
101 p->setStrokeCap(SkPaint::kRound_Cap); in DEF_ARC_GM()
107 auto setStroke = [] (SkPaint* p) { in DEF_ARC_GM()
108 p->setStyle(SkPaint::kStrokeAndFill_Style); in DEF_ARC_GM()
109 p->setStrokeCap(SkPaint::kButt_Cap); in DEF_ARC_GM()
115 auto setStroke = [] (SkPaint* p) { in DEF_ARC_GM()
116 p->setStyle(SkPaint::kStrokeAndFill_Style); in DEF_ARC_GM()
117 p->setStrokeCap(SkPaint::kSquare_Cap); in DEF_ARC_GM()
123 auto setStroke = [] (SkPaint* p) { in DEF_ARC_GM()
124 p->setStyle(SkPaint::kStrokeAndFill_Style); in DEF_ARC_GM()
125 p->setStrokeCap(SkPaint::kRound_Cap); in DEF_ARC_GM()
163 SkTArray<SkPaint> paints;
167 paints.push_back().setStyle(SkPaint::kStroke_Style);
170 paints.push_back().setStyle(SkPaint::kStroke_Style);
173 paints.push_back().setStyle(SkPaint::kStrokeAndFill_Style);
176 paints.push_back().setStyle(SkPaint::kStroke_Style);
191 SkPaint linePaint;
225 SkPaint p0;
228 p0.setStyle(SkPaint::kStroke_Style);
241 SkPaint fill;
243 SkPaint hairline = fill;
244 hairline.setStyle(SkPaint::kStroke_Style);
245 SkPaint stroke = hairline;