Lines Matching refs:SkPaint
35 SkPaint paint; in test_strokecubic()
37 paint.setStyle(SkPaint::kStroke_Style); in test_strokecubic()
53 SkPaint paint; in test_strokerect()
55 paint.setStyle(SkPaint::kStroke_Style); in test_strokerect()
63 static const SkPaint::Join joins[] = { in test_strokerect()
64 SkPaint::kMiter_Join, SkPaint::kRound_Join, SkPaint::kBevel_Join in test_strokerect()
76 bool isMiter = SkPaint::kMiter_Join == joins[i]; in test_strokerect()
110 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
111 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
120 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
121 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
123 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
125 s2.setStrokeParams(SkPaint::kRound_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
136 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
137 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
149 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
151 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
153 s2.setStrokeParams(SkPaint::kRound_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()