Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkStrokeRec.cpp40 fWidth = paint.getStrokeWidth(); in init()
44 if (0 == paint.getStrokeWidth()) { in init()
49 fWidth = paint.getStrokeWidth(); in init()
161 SkScalar width = SkPaint::kFill_Style == style ? -SK_Scalar1 : paint.getStrokeWidth(); in GetInflationRadius()
DSkDrawProcs.h29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
DSkDraw.cpp428 SkScalar width = paint.getStrokeWidth(); in init()
477 if (0 == fPaint->getStrokeWidth()) { in chooseProc()
567 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
642 SkASSERT(pointData.fSize.fX == SkScalarHalf(newP.getStrokeWidth())); in drawPoints()
715 SkPoint pt = { paint.getStrokeWidth(), paint.getStrokeWidth() }; in compute_stroke_size()
735 const SkScalar width = paint.getStrokeWidth(); in ComputeRectType()
812 if (paint.getStrokeWidth() == 0) { in drawRect()
1394 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in ShouldDrawTextAsPaths()
2152 SkASSERT(!paint.getStrokeWidth()); in draw_into_mask()
DSkPictureCommon.h111 0 == op.paint.getStrokeWidth()) { in operator()
DSkPictureContentInfo.cpp64 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in onDrawPath()
DSkPaint.cpp1344 SkScalar strokeWidth = paint.getStrokeWidth(); in MakeRec()
1873 buffer.writeScalar(this->getStrokeWidth()); in flatten()
2125 str->appendScalar(this->getStrokeWidth()); in toString()
2195 return paint.getStrokeWidth() > 0 && in has_thick_frame()
2219 fPaint.setStrokeWidth(fPaint.getStrokeWidth() / fScale); in SkTextBaseIter()
DSkOverdrawCanvas.cpp306 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint()
/external/skia/gm/
Daddarc.cpp34 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw()
39 while (r.width() > paint.getStrokeWidth() * 3) { in onDraw()
139 const SkScalar delta = paint.getStrokeWidth() * 3 / 2; in onDraw()
144 while (r.width() > paint.getStrokeWidth() * 2) { in onDraw()
189 const SkScalar strokeWidth = paint.getStrokeWidth(); in onDraw()
Dpolygons.cpp92 if (40 == paint->getStrokeWidth()) { in SetColorAndAlpha()
Dpath_stroke_with_zero_length.cpp94 if (this->getMode() == skiagm::GM::kSample_Mode && paint.getStrokeWidth() < 2) { in onDraw()
/external/skia/samplecode/
DSampleStrokeRect.cpp49 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth()); in onDrawContent()
DSampleDither.cpp43 r.inset(p.getStrokeWidth(), p.getStrokeWidth()); in draw_sweep()
52 SkScalar thickness = p.getStrokeWidth(); in draw_sweep()
DSampleDash.cpp77 y0 += paint.getStrokeWidth() * 3; in onDrawContent()
/external/skia/tests/
DStrokerTest.cpp164 p.getStrokeWidth()); in DEF_TEST()
204 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
256 p.getStrokeWidth()); in DEF_TEST()
314 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
360 p.getStrokeWidth()); in DEF_TEST()
399 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
DPaintTest.cpp195 paint.getStrokeWidth() * miter : in DEF_TEST()
196 paint.getStrokeWidth(); in DEF_TEST()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java114 public float getStrokeWidth() { in getStrokeWidth() method in ShadowPaint
/external/skia/bench/
DStrokeBench.cpp20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()
DDashBench.cpp115 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2; in handlePath()
117 rect.fBottom = rect.fTop + paint.getStrokeWidth(); in handlePath()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp100 : fStrokeWidth(p.getStrokeWidth()) in SkPDFGraphicState()
DSkPDFDevice.cpp97 width += result.getStrokeWidth(); in calculate_text_paint()
602 if (paint->getStrokeWidth()) { in drawPoints()
606 SkScalar strokeWidth = paint->getStrokeWidth(); in drawPoints()
1624 bounds.outset(paint.getStrokeWidth() + SK_Scalar1, in handleInversePath()
1625 paint.getStrokeWidth() + SK_Scalar1); in handleInversePath()
/external/skia/src/c/
Dsk_paint.cpp85 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
/external/skia/src/gpu/
DSkGpuDevice.cpp331 SkScalar width = paint.getStrokeWidth(); in drawPoints()
627 const SkScalar halfWidth = 0.5f * origPaint.getStrokeWidth(); in drawStrokedLine()
673 if (SkPaint::kStroke_Style == paint.getStyle() && paint.getStrokeWidth() > 0 && in drawPath()
677 SkScalar strokeWidth = this->ctm().getMaxScale() * paint.getStrokeWidth(); in drawPath()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp96 dst->setStrokeWidth(src.getStrokeWidth()); in ApplyInfo()
/external/skia/src/xps/
DSkXPSDevice.cpp1076 const bool zeroWidth = (0 == paint.getStrokeWidth()); in rect_must_be_pathed()
1484 SkScalarToFLOAT(shaderPaint.getStrokeWidth())), in shadePath()
1487 if (0 == shaderPaint.getStrokeWidth()) { in shadePath()
1641 (SkPaint::kStroke_Style == paint->getStyle() && 0 == paint->getStrokeWidth())); in drawPath()
/external/skia/include/core/
DSkPaint.h369 SkScalar getStrokeWidth() const { return fWidth; } in getStrokeWidth() function

12