Home
last modified time | relevance | path

Searched refs:kStrokeWidth (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/docs/examples/
H A Dstrokerect_gm.cpp6 constexpr SkScalar kStrokeWidth = 20; in REG_FIDDLE() local
15 {0, 0, kStrokeWidth, H}, in REG_FIDDLE()
16 {0, 0, W, kStrokeWidth}, in REG_FIDDLE()
17 {0, 0, kStrokeWidth / 2, kStrokeWidth / 2}, in REG_FIDDLE()
25 canvas->translate(kStrokeWidth * 3 / 2, kStrokeWidth * 3 / 2); in REG_FIDDLE()
33 j * (W + 2 * kStrokeWidth), in REG_FIDDLE()
34 (i + doFill * SK_ARRAY_COUNT(gJoins)) * (H + 2 * kStrokeWidth)); in REG_FIDDLE()
41 paint.setStrokeWidth(kStrokeWidth); in REG_FIDDLE()
[all...]
/third_party/skia/gm/
H A Dtrickycubicstrokes.cpp28 static constexpr float kStrokeWidth = 30; variable
119 strokePaint.setStrokeWidth(kStrokeWidth); in draw_test()
146 strokeBounds.outset(kStrokeWidth, kStrokeWidth); in draw_test()
152 matrix.setTranslate(cellRect.x() + kStrokeWidth + in draw_test()
154 cellRect.y() + kStrokeWidth + in draw_test()
160 strokePaint.setStrokeWidth(kStrokeWidth / matrix.getMaxScale()); in draw_test()
H A Dcroppedrects.cpp50 constexpr SkScalar kStrokeWidth = 10; variable
53 stroke.setStrokeWidth(kStrokeWidth);
55 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke);
H A Dconvex_all_line_paths.cpp281 offset->fX += kStrokeWidth / 2.0f; in drawPath()
282 offset->fY += kStrokeWidth / 2.0f; in drawPath()
288 offset->fX += kStrokeWidth; in drawPath()
307 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in drawPath()
323 offset.fX += kStrokeWidth / 2.0f;
324 offset.fY += kStrokeWidth / 2.0f;
339 p.setStrokeWidth(SkIntToScalar(kStrokeWidth));
400 inline static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
H A Dnonclosedpaths.cpp81 constexpr int kStrokeWidth[] = {0, 10, 40, 50}; variable
82 int numWidths = SK_ARRAY_COUNT(kStrokeWidth);
118 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth[width]));
H A Dstrokedlines.cpp38 constexpr SkScalar kStrokeWidth = 5.0f; variable
100 tmp.setStrokeWidth(kStrokeWidth); in draw_row()
152 SkScalar intervals[] = { kStrokeWidth, kStrokeWidth };
156 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth));
H A Dstroke_rect_shader.cpp45 constexpr SkScalar kStrokeWidth = 10; in DEF_SIMPLE_GM() local
46 paint.setStrokeWidth(kStrokeWidth); in DEF_SIMPLE_GM()
H A Ddashcircle.cpp148 static constexpr SkScalar kStrokeWidth = 15.f; variable
189 paint.setStrokeWidth(kStrokeWidth);
211 paint.setStrokeWidth(kStrokeWidth);
H A Dwidebuttcaps.cpp21 static constexpr float kStrokeWidth = 100; variable
29 strokePaint.setStrokeWidth(kStrokeWidth); in draw_strokes()
H A Dpatheffects.cpp244 const float kStrokeWidth = 20; in DEF_SIMPLE_GM() local
267 { SkPaint::kStrokeAndFill_Style, kStrokeWidth, false, true }, in DEF_SIMPLE_GM()
268 { SkPaint::kStroke_Style, kStrokeWidth, true, true }, in DEF_SIMPLE_GM()
269 { SkPaint::kStrokeAndFill_Style, kStrokeWidth, true, true }, in DEF_SIMPLE_GM()
H A Dcirculararcs.cpp275 static constexpr SkScalar kStrokeWidth = 5.f; in DEF_SIMPLE_GM() local
324 static constexpr SkScalar kPad = 2*kStrokeWidth; in DEF_SIMPLE_GM()
333 paint.setStrokeWidth(kStrokeWidth); in DEF_SIMPLE_GM()
/third_party/skia/samplecode/
H A DSampleChart.cpp122 static const SkScalar kStrokeWidth = SkIntToScalar(2); variable
127 plotPaint.setStrokeWidth(kStrokeWidth);
/third_party/skia/bench/
H A DChartBench.cpp138 static const SkScalar kStrokeWidth = SkIntToScalar(2); variable
143 plotPaint.setStrokeWidth(kStrokeWidth);
/third_party/skia/modules/svg/include/
H A DSkSVGAttribute.h52 kStrokeWidth, member in SkSVGAttribute

Completed in 9 milliseconds