Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkStrokeRec.cpp44 fWidth = paint.getStrokeWidth(); in init()
48 if (0 == paint.getStrokeWidth()) { in init()
53 fWidth = paint.getStrokeWidth(); in init()
DSkDrawProcs.h77 SkScalar strokeWidth = paint.getStrokeWidth(); in SkDrawTreatAsHairline()
DSkDraw.cpp449 SkScalar width = paint.getStrokeWidth(); in init()
498 if (0 == fPaint->getStrokeWidth()) { in chooseProc()
588 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
665 SkASSERT(pointData.fSize.fX == SkScalarHalf(newP.getStrokeWidth())); in drawPoints()
739 SkPoint pt = { paint.getStrokeWidth(), paint.getStrokeWidth() }; in compute_stroke_size()
759 const SkScalar width = paint.getStrokeWidth(); in ComputeRectType()
836 if (paint.getStrokeWidth() == 0) { in drawRect()
1393 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in ShouldDrawTextAsPaths()
DSkPictureContentInfo.cpp64 if (SkPaint::kStroke_Style == paint.getStyle() && 0 == paint.getStrokeWidth()) { in onDrawPath()
DSkPaint.cpp1370 SkScalar strokeWidth = paint.getStrokeWidth(); in MakeRec()
1930 ptr = write_scalar(ptr, this->getStrokeWidth()); in flatten()
2096 SkScalar radius = SkScalarHalf(this->getStrokeWidth()); in doComputeFastBounds()
2222 str->appendScalar(this->getStrokeWidth()); in toString()
2294 return paint.getStrokeWidth() > 0 && in has_thick_frame()
2316 fPaint.setStrokeWidth(fPaint.getStrokeWidth() / fScale); in SkTextToPathIter()
DSkPicture.cpp170 0 == op.paint.getStrokeWidth()) { in operator ()()
/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()
Dtechtalk1.cpp164 SkScalar rad = paint.getStrokeWidth() / 2; in draw_rect()
219 SkScalar rad = paint.getStrokeWidth() / 2; in draw_oval()
228 SkScalar rad = paint.getStrokeWidth() / 2; in draw_oval()
239 SkScalar rad = paint.getStrokeWidth() / 2; in draw_oval()
244 SkScalar rad = paint.getStrokeWidth() / 2; in draw_oval()
Dpolygons.cpp92 if (40 == paint->getStrokeWidth()) { in SetColorAndAlpha()
Dstrokes.cpp233 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/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java114 public float getStrokeWidth() { in getStrokeWidth() method in ShadowPaint
/external/skia/src/c/
Dsk_paint.cpp86 return AsPaint(*cpaint).getStrokeWidth(); in sk_paint_get_stroke_width()
/external/skia/src/gpu/
DGrTextBlobCache.h57 cacheBlob->fStrokeInfo.fFrameWidth = paint.getStrokeWidth(); in createCachedBlob()
DGrStencilAndCoverTextContext.cpp64 && skPaint.getStrokeWidth() == 0 in canDraw()
/external/skia/bench/
DDashBench.cpp116 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2; in handlePath()
118 rect.fBottom = rect.fTop + paint.getStrokeWidth(); in handlePath()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp105 : fStrokeWidth(p.getStrokeWidth()) in SkPDFGraphicState()
DSkPDFDevice.cpp72 width += result.getStrokeWidth(); in calculate_text_paint()
830 if (paint->getStrokeWidth()) { in drawPoints()
834 SkScalar strokeWidth = paint->getStrokeWidth(); in drawPoints()
1467 bounds.outset(paint.getStrokeWidth() + SK_Scalar1, in handleInversePath()
1468 paint.getStrokeWidth() + SK_Scalar1); in handleInversePath()
/external/skia/src/pipe/
DSkGPipeWrite.cpp1208 if (base.getStrokeWidth() != paint.getStrokeWidth()) { in writePaint()
1210 *ptr++ = castToU32(paint.getStrokeWidth()); in writePaint()
1211 base.setStrokeWidth(paint.getStrokeWidth()); in writePaint()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp86 dst->setStrokeWidth(src.getStrokeWidth()); in ApplyInfo()
/external/skia/include/core/
DSkPaint.h413 SkScalar getStrokeWidth() const { return fWidth; } in getStrokeWidth() function

12