Home
last modified time | relevance | path

Searched refs:getStrokeWidth (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/skia/src/core/
DSkStrokeRec.cpp40 fWidth = paint.getStrokeWidth(); in init()
44 if (0 == paint.getStrokeWidth()) { in init()
49 fWidth = paint.getStrokeWidth(); in init()
143 SkScalar width = SkPaint::kFill_Style == style ? -SK_Scalar1 : paint.getStrokeWidth(); in GetInflationRadius()
DSkDrawProcs.h29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
DSkDraw.cpp252 SkScalar width = paint.getStrokeWidth(); in init()
303 if (0 == fPaint->getStrokeWidth()) { in chooseProc()
396 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
473 SkASSERT(pointData.fSize.fX == SkScalarHalf(newP.getStrokeWidth())); in drawPoints()
546 SkPoint pt = { paint.getStrokeWidth(), paint.getStrokeWidth() }; in compute_stroke_size()
567 const SkScalar width = paint.getStrokeWidth(); in ComputeRectType()
645 if (paint.getStrokeWidth() == 0) { in drawRect()
1266 SkASSERT(!paint.getStrokeWidth()); in draw_into_mask()
DSkPictureCommon.h54 0 == op.paint.getStrokeWidth()) { in operator()
/third_party/flutter/skia/src/core/
DSkStrokeRec.cpp40 fWidth = paint.getStrokeWidth(); in init()
44 if (0 == paint.getStrokeWidth()) { in init()
49 fWidth = paint.getStrokeWidth(); in init()
143 SkScalar width = SkPaint::kFill_Style == style ? -SK_Scalar1 : paint.getStrokeWidth(); in GetInflationRadius()
DSkDrawProcs.h29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
DSkDraw.cpp248 SkScalar width = paint.getStrokeWidth(); in init()
299 if (0 == fPaint->getStrokeWidth()) { in chooseProc()
392 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
471 SkASSERT(pointData.fSize.fX == SkScalarHalf(newP.getStrokeWidth())); in drawPoints()
544 SkPoint pt = { paint.getStrokeWidth(), paint.getStrokeWidth() }; in compute_stroke_size()
564 const SkScalar width = paint.getStrokeWidth(); in ComputeRectType()
643 if (paint.getStrokeWidth() == 0) { in drawRect()
1267 SkASSERT(!paint.getStrokeWidth()); in draw_into_mask()
DSkPictureCommon.h54 0 == op.paint.getStrokeWidth()) { in operator()
/third_party/skia/docs/examples/
DPaintDump.cpp35 if (d.getStrokeWidth() != p.getStrokeWidth()) { in PaintStringDump()
36 s.appendf("p.setStrokeWidth(%.9g);\n", p.getStrokeWidth()); in PaintStringDump()
DPaint_getStrokeWidth.cpp8 SkDebugf("0 %c= paint.getStrokeWidth()\n", 0 == paint.getStrokeWidth() ? '=' : '!'); in draw()
DPaint_setStrokeWidth.cpp10 SkDebugf("5 %c= paint.getStrokeWidth()\n", 5 == paint.getStrokeWidth() ? '=' : '!'); in draw()
/third_party/flutter/skia/gm/
Daddarc.cpp44 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw()
49 while (r.width() > paint.getStrokeWidth() * 3) { in onDraw()
135 const SkScalar delta = paint.getStrokeWidth() * 3 / 2; in onDraw()
140 while (r.width() > paint.getStrokeWidth() * 2) { in onDraw()
185 const SkScalar strokeWidth = paint.getStrokeWidth(); in onDraw()
/third_party/skia/gm/
Daddarc.cpp44 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw()
49 while (r.width() > paint.getStrokeWidth() * 3) { in onDraw()
133 const SkScalar delta = paint.getStrokeWidth() * 3 / 2; in onDraw()
138 while (r.width() > paint.getStrokeWidth() * 2) { in onDraw()
183 const SkScalar strokeWidth = paint.getStrokeWidth(); in onDraw()
/third_party/skia/samplecode/
DSampleStrokeRect.cpp41 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth()); in onDrawContent()
/third_party/flutter/skia/samplecode/
DSampleStrokeRect.cpp41 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth()); in onDrawContent()
/third_party/flutter/skia/tests/
DStrokerTest.cpp165 p.getStrokeWidth()); in DEF_TEST()
205 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
257 p.getStrokeWidth()); in DEF_TEST()
315 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
361 p.getStrokeWidth()); in DEF_TEST()
400 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
DPaintTest.cpp98 paint.getStrokeWidth() * miter : in DEF_TEST()
99 paint.getStrokeWidth(); in DEF_TEST()
/third_party/skia/tests/
DStrokerTest.cpp167 p.getStrokeWidth()); in DEF_TEST()
207 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
259 p.getStrokeWidth()); in DEF_TEST()
317 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
363 p.getStrokeWidth()); in DEF_TEST()
402 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
DPaintTest.cpp74 paint.getStrokeWidth() * miter : in DEF_TEST()
75 paint.getStrokeWidth(); in DEF_TEST()
/third_party/flutter/skia/docs/examples/
DPaint_getStrokeWidth.cpp8 SkDebugf("0 %c= paint.getStrokeWidth()\n", 0 == paint.getStrokeWidth() ? '=' : '!'); in draw()
DPaint_setStrokeWidth.cpp10 SkDebugf("5 %c= paint.getStrokeWidth()\n", 5 == paint.getStrokeWidth() ? '=' : '!'); in draw()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DPath.h44 GLfloat getStrokeWidth() const { return mStrokeWidth; } in getStrokeWidth() function
/third_party/flutter/skia/modules/sksg/src/
DSkSGDraw.cpp38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
/third_party/skia/modules/sksg/src/
DSkSGDraw.cpp38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
/third_party/skia/modules/skparagraph/src/
DDecorations.cpp11 SkASSERT(paint.getStrokeWidth() > 0); // this trick won't work for hairlines in draw_line_as_rect()
15 float radius = paint.getStrokeWidth() * 0.5f; in draw_line_as_rect()

1234