Searched refs:fullShortEdge (Results 1 – 2 of 2) sorted by relevance
782 const float fullShortEdge = static_cast<float>(SkTMin(fullDim.fWidth, fullDim.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()
782 const float fullShortEdge = static_cast<float>(std::min(fullDim.fWidth, fullDim.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()