/third_party/skia/docs/examples/ |
H A D | strokerect_gm.cpp | 6 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 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()
|
H A D | croppedrects.cpp | 50 constexpr SkScalar kStrokeWidth = 10; variable 53 stroke.setStrokeWidth(kStrokeWidth); 55 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke);
|
H A 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; 324 offset.fY += kStrokeWidth / 2.0f; 339 p.setStrokeWidth(SkIntToScalar(kStrokeWidth)); 400 inline static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
|
H A D | nonclosedpaths.cpp | 81 constexpr int kStrokeWidth[] = {0, 10, 40, 50}; variable 82 int numWidths = SK_ARRAY_COUNT(kStrokeWidth); 118 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth[width]));
|
H A D | strokedlines.cpp | 38 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 D | stroke_rect_shader.cpp | 45 constexpr SkScalar kStrokeWidth = 10; in DEF_SIMPLE_GM() local 46 paint.setStrokeWidth(kStrokeWidth); in DEF_SIMPLE_GM()
|
H A D | dashcircle.cpp | 148 static constexpr SkScalar kStrokeWidth = 15.f; variable 189 paint.setStrokeWidth(kStrokeWidth); 211 paint.setStrokeWidth(kStrokeWidth);
|
H A D | widebuttcaps.cpp | 21 static constexpr float kStrokeWidth = 100; variable 29 strokePaint.setStrokeWidth(kStrokeWidth); in draw_strokes()
|
H A D | patheffects.cpp | 244 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 D | circulararcs.cpp | 275 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 D | SampleChart.cpp | 122 static const SkScalar kStrokeWidth = SkIntToScalar(2); variable 127 plotPaint.setStrokeWidth(kStrokeWidth);
|
/third_party/skia/bench/ |
H A D | ChartBench.cpp | 138 static const SkScalar kStrokeWidth = SkIntToScalar(2); variable 143 plotPaint.setStrokeWidth(kStrokeWidth);
|
/third_party/skia/modules/svg/include/ |
H A D | SkSVGAttribute.h | 52 kStrokeWidth, member in SkSVGAttribute
|