Lines Matching refs:specifiedSize
281 float TextAutosizer::computeAutosizedFontSize(float specifiedSize, float multiplier)
288 // For specifiedSize between 0 and pleasantSize we directly apply the
289 // multiplier; hence for specifiedSize == pleasantSize, computedSize will be
292 // specifiedSize beyond pleasantSize we will only increase computedSize
294 // computedSize = specifiedSize line, after which we stay on that line (so
295 // then every 1px increase in specifiedSize increases computedSize by 1px).
299 if (specifiedSize <= pleasantSize)
300 computedSize = multiplier * specifiedSize;
302 computedSize = multiplier * pleasantSize + gradientAfterPleasantSize * (specifiedSize - pleasantSize);
303 if (computedSize < specifiedSize)
304 computedSize = specifiedSize;