Lines Matching refs:specifiedSize
1127 float TextAutosizer::computeAutosizedFontSize(float specifiedSize, float multiplier)
1134 // For specifiedSize between 0 and pleasantSize we directly apply the
1135 // multiplier; hence for specifiedSize == pleasantSize, computedSize will be
1138 // specifiedSize beyond pleasantSize we will only increase computedSize
1140 // computedSize = specifiedSize line, after which we stay on that line (so
1141 // then every 1px increase in specifiedSize increases computedSize by 1px).
1145 if (specifiedSize <= pleasantSize) {
1146 computedSize = multiplier * specifiedSize;
1148 computedSize = multiplier * pleasantSize + gradientAfterPleasantSize * (specifiedSize - pleasantSize);
1149 if (computedSize < specifiedSize)
1150 computedSize = specifiedSize;