Lines Matching refs:halfStrokeWidth
103 halfStrokeWidth(paint->getStrokeWidth() * 0.5f), maxAlpha(1.0f) { in PaintInfo()
115 if (isAA && halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && in PaintInfo()
116 2 * halfStrokeWidth < inverseScaleX) { in PaintInfo()
118 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()
119 halfStrokeWidth = 0.0f; in PaintInfo()
128 float halfStrokeWidth; member
132 if (halfStrokeWidth == 0.0f) { in scaleOffsetForStrokeWidth()
137 offset *= halfStrokeWidth; in scaleOffsetForStrokeWidth()
156 if (halfStrokeWidth == 0.0f) return 2; in capExtraDivisions()
159 return MathUtils::divisionsNeededToApproximateArc(halfStrokeWidth, PI, threshold); in capExtraDivisions()
171 if (halfStrokeWidth == 0) { in expandBoundsForStroke()
177 bounds->outset(halfStrokeWidth + fabs(inverseScaleX) * Vertex::GeometryFudgeFactor(), in expandBoundsForStroke()
178 halfStrokeWidth + fabs(inverseScaleY) * Vertex::GeometryFudgeFactor()); in expandBoundsForStroke()
814 float radius = paintInfo.halfStrokeWidth; in tessellatePoints()