Searched refs:halfStrokeWidth (Results 1 – 2 of 2) sorted by relevance
104 , halfStrokeWidth(paint->getStrokeWidth() * 0.5f) in PaintInfo()117 if (isAA && halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && in PaintInfo()118 2 * halfStrokeWidth < inverseScaleX) { in PaintInfo()120 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()121 halfStrokeWidth = 0.0f; in PaintInfo()130 float halfStrokeWidth; member134 if (halfStrokeWidth == 0.0f) { in scaleOffsetForStrokeWidth()139 offset *= halfStrokeWidth; in scaleOffsetForStrokeWidth()158 if (halfStrokeWidth == 0.0f) return 2; in capExtraDivisions()161 return MathUtils::divisionsNeededToApproximateArc(halfStrokeWidth, PI, threshold); in capExtraDivisions()[all …]
1763 final float halfStrokeWidth = mStrokePaint == null ?1766 final int top = (int) Math.floor(centerY - halfStrokeWidth);1767 final int bottom = (int) Math.ceil(centerY + halfStrokeWidth);