Home
last modified time | relevance | path

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

1234

/external/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.cpp251 SkScalar width = paint.getStrokeWidth(); in init()
302 if (0 == fPaint->getStrokeWidth()) { in chooseProc()
395 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()
642 if (paint.getStrokeWidth() == 0) { in drawRect()
1277 SkASSERT(!paint.getStrokeWidth()); in draw_into_mask()
DSkPictureCommon.h54 0 == op.paint.getStrokeWidth()) { in operator()
/external/skqp/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()
1262 SkASSERT(!paint.getStrokeWidth()); in draw_into_mask()
DSkPictureCommon.h54 0 == op.paint.getStrokeWidth()) { in operator()
DSkDraw_text.cpp19 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in ShouldDrawTextAsPaths()
/external/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()
/external/skqp/gm/
Daddarc.cpp34 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw()
39 while (r.width() > paint.getStrokeWidth() * 3) { in onDraw()
125 const SkScalar delta = paint.getStrokeWidth() * 3 / 2; in onDraw()
130 while (r.width() > paint.getStrokeWidth() * 2) { in onDraw()
175 const SkScalar strokeWidth = paint.getStrokeWidth(); in onDraw()
/external/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()
/external/skia/samplecode/
DSampleStrokeRect.cpp41 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth()); in onDrawContent()
/external/skqp/samplecode/
DSampleStrokeRect.cpp47 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth()); in onDrawContent()
/external/skqp/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()
/external/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.cpp75 paint.getStrokeWidth() * miter : in DEF_TEST()
76 paint.getStrokeWidth(); in DEF_TEST()
/external/skqp/modules/sksg/src/
DSkSGDraw.cpp36 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
/external/skia/modules/sksg/src/
DSkSGDraw.cpp38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java377 this.paint.setStrokeWidth(paint.getStrokeWidth()); in LinePaintHistoryEvent()
393 this.paint.setStrokeWidth(paint.getStrokeWidth()); in OvalPaintHistoryEvent()
410 this.paint.setStrokeWidth(paint.getStrokeWidth()); in RectPaintHistoryEvent()
/external/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()
/external/skia/src/gpu/text/
DGrSDFTControl.cpp52 if ((paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() == 0) in drawingType()
/external/skqp/bench/
DStrokeBench.cpp20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()

1234