Searched refs:shortEdge (Results 1 – 4 of 4) sorted by relevance
763 const float shortEdge = static_cast<float>(SkTMin(dim.fWidth, dim.fHeight)); in onGetScaledDimensions() local764 if (desiredScale < 80.f / shortEdge) { in onGetScaledDimensions()765 desiredScale = 80.f / shortEdge; in onGetScaledDimensions()783 const float shortEdge = static_cast<float>(SkTMin(dim.fWidth, dim.fHeight)); in onDimensionsSupported() local785 SkISize sizeFloor = this->onGetScaledDimensions(1.f / std::floor(fullShortEdge / shortEdge)); in onDimensionsSupported()786 SkISize sizeCeil = this->onGetScaledDimensions(1.f / std::ceil(fullShortEdge / shortEdge)); in onDimensionsSupported()
763 const float shortEdge = static_cast<float>(std::min(dim.fWidth, dim.fHeight)); in onGetScaledDimensions() local764 if (desiredScale < 80.f / shortEdge) { in onGetScaledDimensions()765 desiredScale = 80.f / shortEdge; in onGetScaledDimensions()783 const float shortEdge = static_cast<float>(std::min(dim.fWidth, dim.fHeight)); in onDimensionsSupported() local785 SkISize sizeFloor = this->onGetScaledDimensions(1.f / std::floor(fullShortEdge / shortEdge)); in onDimensionsSupported()786 SkISize sizeCeil = this->onGetScaledDimensions(1.f / std::ceil(fullShortEdge / shortEdge)); in onDimensionsSupported()
743 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio() local744 double shortLen = shortEdge.length(); in endCtrlRatio()
740 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio() local741 double shortLen = shortEdge.length(); in endCtrlRatio()