/third_party/skia/docs/examples/ |
D | strokerect_gm.cpp | 6 constexpr SkScalar kStrokeWidth = 20; in draw() local 15 {0, 0, kStrokeWidth, H}, in draw() 16 {0, 0, W, kStrokeWidth}, in draw() 17 {0, 0, kStrokeWidth / 2, kStrokeWidth / 2}, in draw() 25 canvas->translate(kStrokeWidth * 3 / 2, kStrokeWidth * 3 / 2); in draw() 33 j * (W + 2 * kStrokeWidth), in draw() 34 (i + doFill * SK_ARRAY_COUNT(gJoins)) * (H + 2 * kStrokeWidth)); in draw() 41 paint.setStrokeWidth(kStrokeWidth); in draw()
|
/third_party/skia/gm/ |
D | convex_all_line_paths.cpp | 281 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; in onDraw() 324 offset.fY += kStrokeWidth / 2.0f; in onDraw() 339 p.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in onDraw() 400 inline static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
|
D | trickycubicstrokes.cpp | 28 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()
|
D | croppedrects.cpp | 50 constexpr SkScalar kStrokeWidth = 10; in onOnceBeforeDraw() local 53 stroke.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw() 55 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
|
D | strokedlines.cpp | 38 constexpr SkScalar kStrokeWidth = 5.0f; variable 100 tmp.setStrokeWidth(kStrokeWidth); in draw_row() 152 SkScalar intervals[] = { kStrokeWidth, kStrokeWidth }; in onOnceBeforeDraw() 156 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
|
D | nonclosedpaths.cpp | 81 constexpr int kStrokeWidth[] = {0, 10, 40, 50}; in onDraw() local 82 int numWidths = SK_ARRAY_COUNT(kStrokeWidth); in onDraw() 118 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth[width])); in onDraw()
|
D | stroke_rect_shader.cpp | 45 constexpr SkScalar kStrokeWidth = 10; variable 46 paint.setStrokeWidth(kStrokeWidth);
|
D | patheffects.cpp | 244 const float kStrokeWidth = 20; variable 267 { SkPaint::kStrokeAndFill_Style, kStrokeWidth, false, true }, 268 { SkPaint::kStroke_Style, kStrokeWidth, true, true }, 269 { SkPaint::kStrokeAndFill_Style, kStrokeWidth, true, true },
|
D | widebuttcaps.cpp | 21 static constexpr float kStrokeWidth = 100; variable 29 strokePaint.setStrokeWidth(kStrokeWidth); in draw_strokes()
|
D | dashcircle.cpp | 148 static constexpr SkScalar kStrokeWidth = 15.f; in onDraw() local 189 paint.setStrokeWidth(kStrokeWidth); in onDraw() 211 paint.setStrokeWidth(kStrokeWidth); in onDraw()
|
D | circulararcs.cpp | 275 static constexpr SkScalar kStrokeWidth = 5.f; variable 324 static constexpr SkScalar kPad = 2*kStrokeWidth; 333 paint.setStrokeWidth(kStrokeWidth);
|
/third_party/flutter/skia/gm/ |
D | convex_all_line_paths.cpp | 281 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; in onDraw() 324 offset.fY += kStrokeWidth / 2.0f; in onDraw() 339 p.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in onDraw() 400 static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
|
D | croppedrects.cpp | 51 constexpr SkScalar kStrokeWidth = 10; in onOnceBeforeDraw() local 54 stroke.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw() 56 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
|
D | trickycubicstrokes.cpp | 21 static constexpr float kStrokeWidth = 40; variable 69 fStrokePaint.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw() 86 strokeBounds.outset(kStrokeWidth, kStrokeWidth); in drawStroke()
|
D | strokedlines.cpp | 38 constexpr SkScalar kStrokeWidth = 5.0f; variable 100 tmp.setStrokeWidth(kStrokeWidth); in draw_row() 152 SkScalar intervals[] = { kStrokeWidth, kStrokeWidth }; in onOnceBeforeDraw() 156 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
|
D | nonclosedpaths.cpp | 79 constexpr int kStrokeWidth[] = {0, 10, 40, 50}; in onDraw() local 80 int numWidths = SK_ARRAY_COUNT(kStrokeWidth); in onDraw() 117 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth[width])); in onDraw()
|
D | stroke_rect_shader.cpp | 45 constexpr SkScalar kStrokeWidth = 10; variable 46 paint.setStrokeWidth(kStrokeWidth);
|
D | dashcircle.cpp | 149 static constexpr SkScalar kStrokeWidth = 15.f; in onDraw() local 190 paint.setStrokeWidth(kStrokeWidth); in onDraw() 212 paint.setStrokeWidth(kStrokeWidth); in onDraw()
|
/third_party/flutter/skia/bench/ |
D | ChartBench.cpp | 138 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDraw() local 143 plotPaint.setStrokeWidth(kStrokeWidth); in onDraw()
|
/third_party/skia/samplecode/ |
D | SampleChart.cpp | 122 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDrawContent() local 127 plotPaint.setStrokeWidth(kStrokeWidth); in onDrawContent()
|
/third_party/flutter/skia/samplecode/ |
D | SampleChart.cpp | 127 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDrawContent() local 132 plotPaint.setStrokeWidth(kStrokeWidth); in onDrawContent()
|
/third_party/skia/bench/ |
D | ChartBench.cpp | 138 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDraw() local 143 plotPaint.setStrokeWidth(kStrokeWidth); in onDraw()
|
/third_party/flutter/skia/experimental/svg/model/ |
D | SkSVGAttribute.h | 47 kStrokeWidth, enumerator
|
D | SkSVGRenderContext.cpp | 233 void commitToPaint<SkSVGAttribute::kStrokeWidth>(const SkSVGPresentationAttributes& attrs, in commitToPaint() 286 commitToPaint<SkSVGAttribute::kStrokeWidth>(fInherited, dummy, this); in SkSVGPresentationContext()
|
/third_party/skia/modules/svg/include/ |
D | SkSVGAttribute.h | 52 kStrokeWidth, enumerator
|