Searched refs:yDist (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSGradientValue.cpp1058 float yDist = std::min(secondPoint.y(), size.height() - secondPoint.y()); local
1060 float smaller = std::min(xDist, yDist);
1062 yDist = smaller;
1065 aspectRatio = xDist / yDist;
1070 float yDist = std::max(secondPoint.y(), size.height() - secondPoint.y()); local
1072 float larger = std::max(xDist, yDist);
1074 yDist = larger;
1077 aspectRatio = xDist / yDist;
1089 float yDist = std::min(secondPoint.y(), size.height() - secondPoint.y()); local
1091 secondRadius = horizontalEllipseRadius(corner - secondPoint, xDist / yDist);
1106 float yDist = std::max(secondPoint.y(), size.height() - secondPoint.y()); local
[all...]

Completed in 144 milliseconds