Lines Matching refs:aspectRatio
712 // width/height given by aspectRatio.
713 static inline float horizontalEllipseRadius(const FloatSize& p, float aspectRatio)
716 // a/b = aspectRatio, b = a/aspectRatio
718 return sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio)));
745 float aspectRatio = 1; // width / height.
752 aspectRatio = secondRadius / resolveRadius(m_endVerticalSize.get(), renderer->style(), rootStyle, &height);
794 aspectRatio = xDist / yDist;
806 aspectRatio = xDist / yDist;
821 aspectRatio = xDist / yDist;
838 aspectRatio = xDist / yDist;
845 RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio);