/external/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()
|
/external/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 | 26 static constexpr float kStrokeWidth = 30; variable 117 strokePaint.setStrokeWidth(kStrokeWidth); in draw_test() 144 strokeBounds.outset(kStrokeWidth, kStrokeWidth); in draw_test() 150 matrix.setTranslate(cellRect.x() + kStrokeWidth + in draw_test() 152 cellRect.y() + kStrokeWidth + in draw_test() 158 strokePaint.setStrokeWidth(kStrokeWidth / matrix.getMaxScale()); in draw_test()
|
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 | 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 | stroke_rect_shader.cpp | 45 constexpr SkScalar kStrokeWidth = 10; variable 46 paint.setStrokeWidth(kStrokeWidth);
|
D | widebuttcaps.cpp | 18 static constexpr float kStrokeWidth = 100; variable 26 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 | 276 static constexpr SkScalar kStrokeWidth = 5.f; variable 325 static constexpr SkScalar kPad = 2*kStrokeWidth; 334 paint.setStrokeWidth(kStrokeWidth);
|
/external/skqp/gm/ |
D | convex_all_line_paths.cpp | 274 offset->fX += kStrokeWidth / 2.0f; in drawPath() 275 offset->fY += kStrokeWidth / 2.0f; in drawPath() 281 offset->fX += kStrokeWidth; in drawPath() 300 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in drawPath() 316 offset.fX += kStrokeWidth / 2.0f; in onDraw() 317 offset.fY += kStrokeWidth / 2.0f; in onDraw() 332 p.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in onDraw() 393 static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
|
D | croppedrects.cpp | 42 constexpr SkScalar kStrokeWidth = 10; in onOnceBeforeDraw() local 45 stroke.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw() 47 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
|
D | trickycubicstrokes.cpp | 15 static constexpr float kStrokeWidth = 40; variable 63 fStrokePaint.setStrokeWidth(kStrokeWidth); in onOnceBeforeDraw() 80 strokeBounds.outset(kStrokeWidth, kStrokeWidth); in drawStroke()
|
D | strokedlines.cpp | 22 constexpr SkScalar kStrokeWidth = 5.0f; variable 81 tmp.setStrokeWidth(kStrokeWidth); in draw_row() 136 SkScalar intervals[] = { kStrokeWidth, kStrokeWidth }; in onOnceBeforeDraw() 140 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
|
D | nonclosedpaths.cpp | 74 constexpr int kStrokeWidth[] = {0, 10, 40, 50}; in onDraw() local 75 int numWidths = SK_ARRAY_COUNT(kStrokeWidth); in onDraw() 112 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth[width])); in onDraw()
|
D | stroke_rect_shader.cpp | 33 constexpr SkScalar kStrokeWidth = 10; variable 34 paint.setStrokeWidth(kStrokeWidth);
|
D | dashcircle.cpp | 138 static constexpr SkScalar kStrokeWidth = 15.f; in onDraw() local 179 paint.setStrokeWidth(kStrokeWidth); in onDraw() 201 paint.setStrokeWidth(kStrokeWidth); in onDraw()
|
/external/skqp/bench/ |
D | ChartBench.cpp | 138 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDraw() local 143 plotPaint.setStrokeWidth(kStrokeWidth); in onDraw()
|
/external/skia/samplecode/ |
D | SampleChart.cpp | 122 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDrawContent() local 127 plotPaint.setStrokeWidth(kStrokeWidth); in onDrawContent()
|
/external/skia/bench/ |
D | ChartBench.cpp | 138 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDraw() local 143 plotPaint.setStrokeWidth(kStrokeWidth); in onDraw()
|
/external/skqp/samplecode/ |
D | SampleChart.cpp | 133 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDrawContent() local 138 plotPaint.setStrokeWidth(kStrokeWidth); in onDrawContent()
|
/external/skqp/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()
|
/external/skia/modules/svg/include/ |
D | SkSVGAttribute.h | 52 kStrokeWidth, enumerator
|