Searched refs:min_scale (Results 1 – 2 of 2) sorted by relevance
112 float min_scale = std::min(fHScale, fVScale); in GetScale() local113 fHScale = min_scale; in GetScale()114 fVScale = min_scale; in GetScale()
488 const auto min_scale = std::max(desc.fMinTextSize / desc.fTextSize, 0.0f), in ShapeToFit() local489 max_scale = std::max(desc.fMaxTextSize / desc.fTextSize, min_scale); in ShapeToFit()491 float in_scale = min_scale, // maximum scale that fits inside in ShapeToFit()493 try_scale = SkTPin(1.0f, min_scale, max_scale); // current probe in ShapeToFit()514 try_scale = (in_scale == min_scale) in ShapeToFit()516 ? std::max(min_scale, try_scale * 0.5f) in ShapeToFit()