Searched refs:halfStrokeWidth (Results 1 – 2 of 2) sorted by relevance
101 halfStrokeWidth(paint->getStrokeWidth() * 0.5f), maxAlpha(1.0f) { in PaintInfo()113 if (isAA && halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && in PaintInfo()114 2 * halfStrokeWidth < inverseScaleX) { in PaintInfo()116 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()117 halfStrokeWidth = 0.0f; in PaintInfo()126 float halfStrokeWidth; member130 if (halfStrokeWidth == 0.0f) { in scaleOffsetForStrokeWidth()135 offset *= halfStrokeWidth; in scaleOffsetForStrokeWidth()153 if (halfStrokeWidth == 0.0f) return 2; in capExtraDivisions()156 const float errConst = (-ROUND_CAP_THRESH / halfStrokeWidth + 1); in capExtraDivisions()[all …]
1502 final float halfStrokeWidth = mStrokePaint == null ?1505 final int top = (int) Math.floor(centerY - halfStrokeWidth);1506 final int bottom = (int) Math.ceil(centerY + halfStrokeWidth);