Home
last modified time | relevance | path

Searched refs:inverseScaleX (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
DPathTessellator.cpp106 inverseScaleX = 1.0f; in PaintInfo()
111 inverseScaleX = 1.0f / scaleX; in PaintInfo()
115 if (isAA && halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && in PaintInfo()
116 2 * halfStrokeWidth < inverseScaleX) { in PaintInfo()
118 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()
126 float inverseScaleX; member
134 offset.x *= 0.5f * inverseScaleX; in scaleOffsetForStrokeWidth()
146 return (Vector2){offset.x * 0.5f * inverseScaleX, offset.y * 0.5f * inverseScaleY}; in deriveAAOffset()
158 float threshold = std::min(inverseScaleX, inverseScaleY) * ROUND_CAP_THRESH; in capExtraDivisions()
173 bounds->outset(fabs(inverseScaleX) * (0.5f + Vertex::GeometryFudgeFactor()), in expandBoundsForStroke()
[all …]