/third_party/skia/src/core/ |
H A D | SkStrokeRec.cpp | 40 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()
|
H A D | SkDraw.cpp | 252 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()
|
H A D | SkDrawProcs.h | 29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
|
H A D | SkPictureCommon.h | 54 0 == op.paint.getStrokeWidth()) { in operator ()()
|
H A D | SkDraw.h | 80 paint.getStrokeWidth() > 0; in drawPathCoverage()
|
H A D | SkStrikeSpec.cpp | 124 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in ShouldDrawAsPath()
|
/third_party/skia/docs/examples/ |
H A D | PaintDump.cpp | 35 if (d.getStrokeWidth() != p.getStrokeWidth()) { in REG_FIDDLE() 36 s.appendf("p.setStrokeWidth(%.9g);\n", p.getStrokeWidth()); in REG_FIDDLE()
|
H A D | Paint_getStrokeWidth.cpp | 8 SkDebugf("0 %c= paint.getStrokeWidth()\n", 0 == paint.getStrokeWidth() ? '=' : '!'); in REG_FIDDLE()
|
H A D | Paint_setStrokeWidth.cpp | 10 SkDebugf("5 %c= paint.getStrokeWidth()\n", 5 == paint.getStrokeWidth() ? '=' : '!'); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | addarc.cpp | 44 const SkScalar inset = paint.getStrokeWidth() + 4; 49 while (r.width() > paint.getStrokeWidth() * 3) { 133 const SkScalar delta = paint.getStrokeWidth() * 3 / 2; 138 while (r.width() > paint.getStrokeWidth() * 2) { 183 const SkScalar strokeWidth = paint.getStrokeWidth();
|
H A D | polygons.cpp | 100 if (40 == paint->getStrokeWidth()) { in SetColorAndAlpha()
|
/third_party/skia/samplecode/ |
H A D | SampleStrokeRect.cpp | 41 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth());
|
H A D | SampleThinAA.cpp | 55 SkScalar width = paint->getStrokeWidth(); 123 SkScalar width = paint->getStrokeWidth();
|
/third_party/skia/tests/ |
H A D | StrokerTest.cpp | 167 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()
|
H A D | PaintTest.cpp | 74 paint.getStrokeWidth() * miter : in DEF_TEST() 75 paint.getStrokeWidth(); in DEF_TEST()
|
/third_party/skia/modules/skparagraph/src/ |
H A D | Decorations.cpp | 18 SkASSERT(decorStyle.skPaint().getStrokeWidth() > 0); // this trick won't work for hairlines in draw_line_as_rect() 20 SkScalar radius = decorStyle.getStrokeWidth() * 0.5f; in draw_line_as_rect() 141 paint.SetWidth(decorPaint.getStrokeWidth()); in ConvertDecorStyle()
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGDraw.cpp | 38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
|
/third_party/skia/src/gpu/text/ |
H A D | GrSDFTControl.cpp | 52 if ((paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() == 0)
|
/third_party/skia/modules/skparagraph/include/ |
H A D | ParagraphPainter.h | 35 SkScalar getStrokeWidth() const { return fStrokeWidth; } in getStrokeWidth() function in skia::textlayout::ParagraphPainter::DecorationStyle
|
/third_party/skia/bench/ |
H A D | StrokeBench.cpp | 20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()
|
H A D | DashBench.cpp | 114 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2; 116 rect.fBottom = rect.fTop + paint.getStrokeWidth();
|
/third_party/skia/src/pdf/ |
H A D | SkPDFGraphicState.cpp | 76 p.getStrokeWidth(), in GetGraphicStateForPaint()
|
H A D | SkPDFDevice.cpp | 422 if (paint->getStrokeWidth()) { in drawPoints() 426 SkScalar strokeWidth = paint->getStrokeWidth(); in drawPoints() 589 if (paint->getStrokeWidth() != 0) { in internalDrawPath() 1079 bounds.outset(paint.getStrokeWidth() + SK_Scalar1, in handleInversePath() 1080 paint.getStrokeWidth() + SK_Scalar1); in handleInversePath()
|
/third_party/skia/src/c/ |
H A D | sk_paint.cpp | 85 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
|
/third_party/skia/include/core/ |
H A D | SkPaint.h | 292 SkScalar getStrokeWidth() const { return fWidth; } in getStrokeWidth() function in SkPaint
|