Index: gm/circulararcs.cpp |
diff --git a/gm/circulararcs.cpp b/gm/circulararcs.cpp |
index 624776f216cb2996c45d0ce15dad736ca0d70b4f..2cb525cc2177f9255adbba3dec83584dbd39597d 100644 |
--- a/gm/circulararcs.cpp |
+++ b/gm/circulararcs.cpp |
@@ -10,7 +10,7 @@ |
#include "gm.h" |
static constexpr SkScalar kStarts[] = {0.f, 10.f, 30.f, 45.f, 90.f, 165.f, 180.f, 270.f}; |
-static constexpr SkScalar kSweeps[] = {1.f, 45.f, 90.f, 130.f, 180.f, 270.f, 300.f, 355.f}; |
+static constexpr SkScalar kSweeps[] = {1.f, 45.f, 90.f, 130.f, 180.f, 184.f, 300.f, 355.f}; |
static constexpr SkScalar kDiameter = 40.f; |
static constexpr SkRect kRect = {0.f, 0.f, kDiameter, kDiameter}; |
static constexpr int kW = 1000; |
@@ -101,3 +101,11 @@ DEF_ARC_GM(stroke_round) { |
}; |
draw_arcs(canvas, setStroke); |
} |
+ |
+DEF_ARC_GM(fill_and_Stroke) { |
+ auto setStroke = [] (SkPaint* p) { |
+ p->setStyle(SkPaint::kStrokeAndFill_Style); |
+ p->setStrokeCap(SkPaint::kRound_Cap); |
+ }; |
+ draw_arcs(canvas, setStroke); |
+} |