Home | History | Annotate | Download | only in rendering

Lines Matching refs:overshoot

2207     float overshoot;
2212 overshoot = newRadii.topLeft().width() + newRadii.topRight().width() - newRect.width();
2213 if (overshoot > 0) {
2215 newRect.setWidth(newRect.width() + overshoot);
2217 newRect.move(-overshoot, 0);
2227 overshoot = newRadii.bottomLeft().width() + newRadii.bottomRight().width() - newRect.width();
2228 if (overshoot > 0) {
2230 newRect.setWidth(newRect.width() + overshoot);
2232 newRect.move(-overshoot, 0);
2244 overshoot = newRadii.topLeft().height() + newRadii.bottomLeft().height() - newRect.height();
2245 if (overshoot > 0) {
2247 newRect.setHeight(newRect.height() + overshoot);
2249 newRect.move(0, -overshoot);
2259 overshoot = newRadii.topRight().height() + newRadii.bottomRight().height() - newRect.height();
2260 if (overshoot > 0) {
2262 newRect.setHeight(newRect.height() + overshoot);
2264 newRect.move(0, -overshoot);