Home
last modified time | relevance | path

Searched refs:min_scale (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcpdf_iconfit.cpp112 float min_scale = std::min(fHScale, fVScale); in GetScale() local
113 fHScale = min_scale; in GetScale()
114 fVScale = min_scale; in GetScale()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp488 const auto min_scale = std::max(desc.fMinTextSize / desc.fTextSize, 0.0f), in ShapeToFit() local
489 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()