OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inverseScaleX
(Results
1 - 2
of
2
) sorted by null
/external/skia/experimental/AndroidPathRenderer/
AndroidPathRenderer.cpp
49
inline void computeInverseScales(const SkMatrix* transform, float &
inverseScaleX
, float& inverseScaleY) {
57
inverseScaleX
= (scaleX != 0) ? (1.0f / scaleX) : 1.0f;
60
inverseScaleX
= 1.0f;
90
float
inverseScaleX
, float inverseScaleY) {
93
offset.fX *= 0.5f *
inverseScaleX
;
118
VertexBuffer* vertexBuffer, float
inverseScaleX
, float inverseScaleY) {
136
scaleOffsetForStrokeWidth(totalOffset, halfStrokeWidth,
inverseScaleX
, inverseScaleY);
157
VertexBuffer* vertexBuffer, float
inverseScaleX
, float inverseScaleY) {
176
scaleOffsetForStrokeWidth(totalOffset, halfStrokeWidth,
inverseScaleX
, inverseScaleY);
191
scaleOffsetForStrokeWidth(totalOffset, halfStrokeWidth,
inverseScaleX
, inverseScaleY)
[
all
...]
/frameworks/base/libs/hwui/
PathTessellator.cpp
106
inverseScaleX
= 1.0f;
111
inverseScaleX
= 1.0f / scaleX;
115
if (isAA && halfStrokeWidth != 0 &&
inverseScaleX
== inverseScaleY &&
116
2 * halfStrokeWidth <
inverseScaleX
) {
118
maxAlpha *= (2 * halfStrokeWidth) /
inverseScaleX
;
126
float
inverseScaleX
;
134
offset.x *= 0.5f *
inverseScaleX
;
146
return (Vector2){offset.x * 0.5f *
inverseScaleX
, offset.y * 0.5f * inverseScaleY};
158
float threshold = MathUtils::min(
inverseScaleX
, inverseScaleY) * ROUND_CAP_THRESH;
173
bounds->outset(fabs(
inverseScaleX
) * (0.5f + Vertex::GeometryFudgeFactor())
[
all
...]
Completed in 763 milliseconds