Lines Matching refs:strokeWidth
300 SkScalar strokeWidth = srcStrokeWidth * perpScale;
302 if ((strokeWidth < 1.f && !useAA) || 0.f == strokeWidth) {
303 strokeWidth = 1.f;
306 SkScalar halfDevStroke = strokeWidth * 0.5f;
310 devIntervals[0] += strokeWidth;
311 devIntervals[1] -= strokeWidth;
353 GrDashingEffect::Create(edgeType, devInfo, strokeWidth, capType))->unref();
428 * interval). The radius of the dots is given by the strokeWidth and the spacing by the DashInfo.
624 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f);
633 return DashingCircleEffect::Create(edgeType, info, strokeWidth);
641 * This effect will draw a dashed line. The width of the dash is given by the strokeWidth and the
655 SkScalar strokeWidth);
676 DashingLineEffect(GrPrimitiveEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth);
800 SkScalar strokeWidth) {
805 return SkNEW_ARGS(DashingLineEffect, (edgeType, info, strokeWidth));
819 SkScalar strokeWidth)
827 SkScalar halfStroke = SkScalarHalf(strokeWidth);
847 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f);
856 return DashingLineEffect::Create(edgeType, info, strokeWidth);
863 SkScalar strokeWidth,
867 return DashingCircleEffect::Create(edgeType, info, SkScalarHalf(strokeWidth));
869 return DashingLineEffect::Create(edgeType, info, strokeWidth);