Home
last modified time | relevance | path

Searched refs:fStrokePaint (Results 1 – 4 of 4) sorted by relevance

/external/skia/experimental/svg/model/
DSkSVGRenderContext.cpp146 applySvgPaint(ctx, *attrs.fStroke.get(), &pctx->fStrokePaint); in commitToPaint()
162 pctx->fStrokePaint.setStrokeCap(toSkCap(cap)); in commitToPaint()
172 pctx->fStrokePaint.setStrokeJoin(toSkJoin(join)); in commitToPaint()
180 pctx->fStrokePaint.setAlpha(opacity_to_alpha(*attrs.fStrokeOpacity.get())); in commitToPaint()
189 pctx->fStrokePaint.setStrokeWidth(strokeWidth); in commitToPaint()
205 fStrokePaint.setStyle(SkPaint::kStroke_Style); in SkSVGPresentationContext()
209 fStrokePaint.setAntiAlias(true); in SkSVGPresentationContext()
307 pctx->fStrokePaint.setAlpha( in applyOpacity()
308 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()
354 return paintType != SkSVGPaint::Type::kNone ? &fPresentationContext->fStrokePaint : nullptr; in strokePaint()
DSkSVGRenderContext.h56 SkPaint fStrokePaint; member
/external/skia/samplecode/
DSamplePath.cpp342 SkPaint fPtsPaint, fHiddenPaint, fSkeletonPaint, fStrokePaint; member in FatStroke
366 fStrokePaint.setAntiAlias(true); in FatStroke()
367 fStrokePaint.setStyle(SkPaint::kStroke_Style); in FatStroke()
368 fStrokePaint.setStrokeWidth(50); in FatStroke()
369 fStrokePaint.setColor(0x8000FF00); in FatStroke()
426 fStrokePaint.setStrokeWidth(fWidth); in onDrawContent()
427 fStrokePaint.setStrokeJoin((SkPaint::Join)fJoinType); in onDrawContent()
428 fStrokePaint.setStrokeCap((SkPaint::Cap)fCapType); in onDrawContent()
431 canvas->drawPath(path, fStrokePaint); in onDrawContent()
435 fStrokePaint.getFillPath(path, &hidden); in onDrawContent()
/external/skia/gm/
Dpoly2poly.cpp38 SkPaint fStrokePaint; member in SkJSCanvas
45 fStrokePaint.setAntiAlias(true); in SkJSCanvas()
46 fStrokePaint.setStyle(SkPaint::kStroke_Style); in SkJSCanvas()
47 fStrokePaint.setStrokeWidth(SK_Scalar1); in SkJSCanvas()
71 fStrokePaint.setStrokeWidth(SkDoubleToScalar(lineWidth)); in stroke()
72 fTarget->drawPath(fPath, fStrokePaint); in stroke()