Home
last modified time | relevance | path

Searched refs:getStrokeWidth (Results 1 – 25 of 38) 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()
DSkDrawProcs.h29 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
DSkDraw.cpp456 SkScalar width = paint.getStrokeWidth(); in init()
505 if (0 == fPaint->getStrokeWidth()) { in chooseProc()
595 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
672 SkASSERT(pointData.fSize.fX == SkScalarHalf(newP.getStrokeWidth())); in drawPoints()
746 SkPoint pt = { paint.getStrokeWidth(), paint.getStrokeWidth() }; in compute_stroke_size()
766 const SkScalar width = paint.getStrokeWidth(); in ComputeRectType()
843 if (paint.getStrokeWidth() == 0) { in drawRect()
1396 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in ShouldDrawTextAsPaths()
DSkPictureCommon.h127 0 == op.paint.getStrokeWidth()) { in operator()
DSkPictureContentInfo.cpp64 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in onDrawPath()
DSkPaint.cpp1364 SkScalar strokeWidth = paint.getStrokeWidth(); in MakeRec()
1911 ptr = write_scalar(ptr, this->getStrokeWidth()); in flatten()
2090 SkScalar radius = SkScalarHalf(this->getStrokeWidth()); in doComputeFastBounds()
2220 str->appendScalar(this->getStrokeWidth()); in toString()
2292 return paint.getStrokeWidth() > 0 && in has_thick_frame()
2314 fPaint.setStrokeWidth(fPaint.getStrokeWidth() / fScale); in SkTextBaseIter()
/external/skia/gm/
Daddarc.cpp33 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw()
38 while (r.width() > paint.getStrokeWidth() * 3) { in onDraw()
138 const SkScalar delta = paint.getStrokeWidth() * 3 / 2; in onDraw()
143 while (r.width() > paint.getStrokeWidth() * 2) { in onDraw()
Dpolygons.cpp92 if (40 == paint->getStrokeWidth()) { in SetColorAndAlpha()
Dpath_stroke_with_zero_length.cpp94 if (paint.getStrokeWidth() < 2) { in onDraw()
Dstrokes.cpp423 canvas->translate(dx + strokePaint.getStrokeWidth(), 0); in onDraw()
/external/skia/samplecode/
DSampleStrokeRect.cpp51 canvas->translate(paint.getStrokeWidth(), paint.getStrokeWidth()); in onDrawContent()
DSampleDither.cpp48 r.inset(p.getStrokeWidth(), p.getStrokeWidth()); in draw_sweep()
57 SkScalar thickness = p.getStrokeWidth(); in draw_sweep()
DSampleDash.cpp78 y0 += paint.getStrokeWidth() * 3; in onDrawContent()
/external/skia/tests/
DStrokerTest.cpp148 p.getStrokeWidth()); in DEF_TEST()
188 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
240 p.getStrokeWidth()); in DEF_TEST()
298 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
344 p.getStrokeWidth()); in DEF_TEST()
383 gMaxRecursion[1], p.getStrokeWidth()); in DEF_TEST()
DPaintTest.cpp197 SkScalarMul(paint.getStrokeWidth(), miter) : in DEF_TEST()
198 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.cpp117 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2; in handlePath()
119 rect.fBottom = rect.fTop + paint.getStrokeWidth(); in handlePath()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp105 : fStrokeWidth(p.getStrokeWidth()) in SkPDFGraphicState()
DSkPDFDevice.cpp75 width += result.getStrokeWidth(); in calculate_text_paint()
825 if (paint->getStrokeWidth()) { in drawPoints()
829 SkScalar strokeWidth = paint->getStrokeWidth(); in drawPoints()
1676 bounds.outset(paint.getStrokeWidth() + SK_Scalar1, in handleInversePath()
1677 paint.getStrokeWidth() + SK_Scalar1); in handleInversePath()
/external/skia/src/c/
Dsk_paint.cpp82 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp85 dst->setStrokeWidth(src.getStrokeWidth()); in ApplyInfo()
/external/skia/include/core/
DSkPaint.h370 SkScalar getStrokeWidth() const { return fWidth; } in getStrokeWidth() function
/external/skia/src/gpu/text/
DGrAtlasTextBlob.h78 fStrokeInfo.fFrameWidth = paint.getStrokeWidth(); in setupKey()
/external/skia/src/utils/
DSkDumpCanvas.cpp535 msg.appendf(" strokeWidth:%g", SkScalarToFloat(p->getStrokeWidth())); in dump()

12