Searched refs:min_scale (Results 1 – 1 of 1) sorted by relevance
399 const auto min_scale = std::max(desc.fMinTextSize / desc.fTextSize, 0.0f), in ShapeToFit() local400 max_scale = std::max(desc.fMaxTextSize / desc.fTextSize, min_scale); in ShapeToFit()402 float in_scale = min_scale, // maximum scale that fits inside in ShapeToFit()404 try_scale = SkTPin(1.0f, min_scale, max_scale); // current probe in ShapeToFit()425 try_scale = (in_scale == min_scale) in ShapeToFit()427 ? std::max(min_scale, try_scale * 0.5f) in ShapeToFit()