Lines Matching refs:stroke

50  * operates in a space normalized by the circle radius (outer radius in the case of a stroke)
69 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool stroke, bool clipPlane,
73 return new (ptr) CircleGeometryProcessor(stroke, clipPlane, isectPlane, unionPlane,
104 CircleGeometryProcessor(bool stroke, bool clipPlane, bool isectPlane, bool unionPlane,
108 , fStroke(stroke) {
123 SkASSERT(stroke);
265 bool stroke = d->fRandom->nextBool();
266 bool roundCaps = stroke ? d->fRandom->nextBool() : false;
272 return CircleGeometryProcessor::Make(d->allocator(), stroke, clipPlane, isectPlane,
448 // Compute coverage from outer/inner edges of the stroke.
542 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool stroke, bool wideColor,
545 return new (ptr) EllipseGeometryProcessor(stroke, wideColor, useScale, localMatrix);
572 EllipseGeometryProcessor(bool stroke, bool wideColor, bool useScale,
576 , fStroke(stroke)
723 bool stroke = d->fRandom->nextBool();
727 return EllipseGeometryProcessor::Make(d->allocator(), stroke, wideColor, useScale, matrix);
1030 const SkStrokeRec& stroke = style.strokeRec();
1031 SkStrokeRec::Style recStyle = stroke.getStyle();
1044 if (arcParams->fUseCenter || stroke.getCap() == SkPaint::kSquare_Cap) {
1051 if (arcParams->fUseCenter || stroke.getCap() != SkPaint::kButt_Cap) {
1066 const SkStrokeRec& stroke = style.strokeRec();
1067 SkStrokeRec::Style recStyle = stroke.getStyle();
1073 SkScalar strokeWidth = viewMatrix.mapRadius(stroke.getWidth());
1149 // Like a fill without useCenter, butt-cap stroke can be implemented by clipping against
1235 // Use the original radius and stroke radius for the bounds so that it does not include the
1608 // Use the original radius and stroke radius for the bounds so that it does not include the
1860 const SkStrokeRec& stroke) {
1872 // do (potentially) anisotropic mapping of stroke
1874 SkScalar strokeWidth = stroke.getWidth();
1880 SkStrokeRec::Style style = stroke.getStyle();
1901 // we don't handle it if curvature of the stroke is less than curvature of the ellipse
1930 params, stroke);
1935 const SkStrokeRec& stroke)
1939 SkStrokeRec::Style style = stroke.getStyle();
2153 const SkStrokeRec& stroke) {
2159 SkStrokeRec::Style style = stroke.getStyle();
2169 SkScalar strokeWidth = stroke.getWidth();
2184 // we don't handle it if curvature of the stroke is less than curvature of the ellipse
2413 // In the case of a normal fill or a stroke, we draw the roundrect as a 9-patch:
2424 // For circular roundrects, in the case where the stroke width is greater than twice
2469 // fill and standard stroke indices skip the overstroke "ring"
2476 // stroke count is fill count minus center indices
2572 // Outset stroke by 1/4 pixel
2574 // If stroke is greater than width or height, this is still a fill
2575 // Otherwise we compute stroke params
2932 // we don't handle it if curvature of the stroke is less than curvature of the ellipse
3061 // If the stroke width is exactly double the radius, the inner radii will be zero.
3196 const SkStrokeRec& stroke,
3214 // Do mapping of stroke. Use -1 to indicate fill-only draws.
3216 SkScalar strokeWidth = stroke.getWidth();
3217 SkStrokeRec::Style style = stroke.getStyle();
3249 const SkStrokeRec& stroke) {
3266 SkStrokeRec::Style style = stroke.getStyle();
3268 // Do (potentially) anisotropic mapping of stroke. Use -1s to indicate fill-only draws.
3270 SkScalar strokeWidth = stroke.getWidth();
3317 const SkStrokeRec& stroke,
3321 GrStyle(stroke, nullptr), shaderCaps);
3328 return make_rrect_op(context, std::move(paint), viewMatrix, rrect, stroke);
3455 SkStrokeRec stroke = GrTest::TestStrokeRec(random);
3466 GrStyle(stroke, nullptr), arcParams);