Home
last modified time | relevance | path

Searched refs:getStrokeWidth (Results 1 - 25 of 47) sorted by relevance

12

/third_party/skia/src/core/
H A 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()
H A 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()
H A DSkDrawProcs.h29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
H A DSkPictureCommon.h54 0 == op.paint.getStrokeWidth()) { in operator ()()
H A DSkDraw.h80 paint.getStrokeWidth() > 0; in drawPathCoverage()
H A DSkStrikeSpec.cpp124 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in ShouldDrawAsPath()
/third_party/skia/docs/examples/
H A DPaintDump.cpp35 if (d.getStrokeWidth() != p.getStrokeWidth()) { in REG_FIDDLE()
36 s.appendf("p.setStrokeWidth(%.9g);\n", p.getStrokeWidth()); in REG_FIDDLE()
H A DPaint_getStrokeWidth.cpp8 SkDebugf("0 %c= paint.getStrokeWidth()\n", 0 == paint.getStrokeWidth() ? '=' : '!'); in REG_FIDDLE()
H A DPaint_setStrokeWidth.cpp10 SkDebugf("5 %c= paint.getStrokeWidth()\n", 5 == paint.getStrokeWidth() ? '=' : '!'); in REG_FIDDLE()
/third_party/skia/gm/
H A Daddarc.cpp44 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 Dpolygons.cpp100 if (40 == paint->getStrokeWidth()) { in SetColorAndAlpha()
/third_party/skia/samplecode/
H A DSampleStrokeRect.cpp41 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth());
H A DSampleThinAA.cpp55 SkScalar width = paint->getStrokeWidth();
123 SkScalar width = paint->getStrokeWidth();
/third_party/skia/tests/
H A 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()
H A DPaintTest.cpp74 paint.getStrokeWidth() * miter : in DEF_TEST()
75 paint.getStrokeWidth(); in DEF_TEST()
/third_party/skia/modules/skparagraph/src/
H A DDecorations.cpp18 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 DSkSGDraw.cpp38 (paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() <= 0); in onRender()
/third_party/skia/src/gpu/text/
H A DGrSDFTControl.cpp52 if ((paint.getStyle() == SkPaint::kStroke_Style && paint.getStrokeWidth() == 0)
/third_party/skia/modules/skparagraph/include/
H A DParagraphPainter.h35 SkScalar getStrokeWidth() const { return fStrokeWidth; } in getStrokeWidth() function in skia::textlayout::ParagraphPainter::DecorationStyle
/third_party/skia/bench/
H A DStrokeBench.cpp20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()
H A DDashBench.cpp114 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2;
116 rect.fBottom = rect.fTop + paint.getStrokeWidth();
/third_party/skia/src/pdf/
H A DSkPDFGraphicState.cpp76 p.getStrokeWidth(), in GetGraphicStateForPaint()
H A DSkPDFDevice.cpp422 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 Dsk_paint.cpp85 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
/third_party/skia/include/core/
H A DSkPaint.h292 SkScalar getStrokeWidth() const { return fWidth; } in getStrokeWidth() function in SkPaint

Completed in 15 milliseconds

12