Home
last modified time | relevance | path

Searched refs:kStrokeWidth (Results 1 – 23 of 23) sorted by relevance

/external/skqp/gm/
Dconvex_all_line_paths.cpp270 offset->fX += kStrokeWidth / 2.0f; in drawPath()
271 offset->fY += kStrokeWidth / 2.0f; in drawPath()
277 offset->fX += kStrokeWidth; in drawPath()
296 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in drawPath()
312 offset.fX += kStrokeWidth / 2.0f; in onDraw()
313 offset.fY += kStrokeWidth / 2.0f; in onDraw()
329 p.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in onDraw()
342 static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
Dcroppedrects.cpp42 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()
Dstrokedlines.cpp22 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()
Dnonclosedpaths.cpp74 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()
Dstroke_rect_shader.cpp33 constexpr SkScalar kStrokeWidth = 10; variable
34 paint.setStrokeWidth(kStrokeWidth);
/external/skia/gm/
Dconvex_all_line_paths.cpp270 offset->fX += kStrokeWidth / 2.0f; in drawPath()
271 offset->fY += kStrokeWidth / 2.0f; in drawPath()
277 offset->fX += kStrokeWidth; in drawPath()
296 paint.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in drawPath()
312 offset.fX += kStrokeWidth / 2.0f; in onDraw()
313 offset.fY += kStrokeWidth / 2.0f; in onDraw()
329 p.setStrokeWidth(SkIntToScalar(kStrokeWidth)); in onDraw()
342 static constexpr int kStrokeWidth = 10; member in skiagm::ConvexLineOnlyPathsGM
Dcroppedrects.cpp42 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()
Dstrokedlines.cpp22 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()
Dnonclosedpaths.cpp74 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()
Dstroke_rect_shader.cpp33 constexpr SkScalar kStrokeWidth = 10; variable
34 paint.setStrokeWidth(kStrokeWidth);
Ddashcircle.cpp138 static constexpr SkScalar kStrokeWidth = 15.f; in onDraw() local
179 paint.setStrokeWidth(kStrokeWidth); in onDraw()
201 paint.setStrokeWidth(kStrokeWidth); in onDraw()
/external/skia/bench/
DChartBench.cpp138 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDraw() local
143 plotPaint.setStrokeWidth(kStrokeWidth); in onDraw()
/external/skia/samplecode/
DSampleChart.cpp134 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDrawContent() local
139 plotPaint.setStrokeWidth(kStrokeWidth); in onDrawContent()
/external/skqp/bench/
DChartBench.cpp138 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDraw() local
143 plotPaint.setStrokeWidth(kStrokeWidth); in onDraw()
/external/skqp/samplecode/
DSampleChart.cpp134 static const SkScalar kStrokeWidth = SkIntToScalar(2); in onDrawContent() local
139 plotPaint.setStrokeWidth(kStrokeWidth); in onDrawContent()
/external/skqp/experimental/svg/model/
DSkSVGAttribute.h47 kStrokeWidth, enumerator
DSkSVGRenderContext.cpp231 void commitToPaint<SkSVGAttribute::kStrokeWidth>(const SkSVGPresentationAttributes& attrs, in commitToPaint()
284 commitToPaint<SkSVGAttribute::kStrokeWidth>(fInherited, dummy, this); in SkSVGPresentationContext()
DSkSVGNode.cpp181 case SkSVGAttribute::kStrokeWidth: in onSetAttribute()
DSkSVGDOM.cpp337 { "stroke-width" , { SkSVGAttribute::kStrokeWidth , SetLengthAttribute }},
/external/skia/experimental/svg/model/
DSkSVGAttribute.h47 kStrokeWidth, enumerator
DSkSVGRenderContext.cpp231 void commitToPaint<SkSVGAttribute::kStrokeWidth>(const SkSVGPresentationAttributes& attrs, in commitToPaint()
284 commitToPaint<SkSVGAttribute::kStrokeWidth>(fInherited, dummy, this); in SkSVGPresentationContext()
DSkSVGNode.cpp181 case SkSVGAttribute::kStrokeWidth: in onSetAttribute()
DSkSVGDOM.cpp337 { "stroke-width" , { SkSVGAttribute::kStrokeWidth , SetLengthAttribute }},