Searched refs:scaleSize (Results 1 – 2 of 2) sorted by relevance
720 float SkMipmap::ComputeLevel(SkSize scaleSize) { in ComputeLevel() argument721 SkASSERT(scaleSize.width() >= 0 && scaleSize.height() >= 0); in ComputeLevel()725 const SkScalar scale = std::min(scaleSize.width(), scaleSize.height()); in ComputeLevel()730 const SkScalar scale = SkScalarSqrt(scaleSize.width() * scaleSize.height()); in ComputeLevel()745 bool SkMipmap::extractLevel(SkSize scaleSize, Level* levelPtr) const { in extractLevel() argument750 float L = ComputeLevel(scaleSize); in extractLevel()
53 static float ComputeLevel(SkSize scaleSize);