Lines Matching defs:dwidth
74 int dwidth = *widthp, dheight = *heightp;
117 if (dwidth < minWidth)
118 dwidth = minWidth;
122 if (dwidth > maxWidth)
123 dwidth = maxWidth;
130 dwidth = ((dwidth - baseWidth) / xinc * xinc) + baseWidth;
140 * minAspectX dwidth maxAspectX
147 * minAspectX * dheight > minAspectY * dwidth
148 * maxAspectX * dheight < maxAspectY * dwidth
153 if (hints.min_aspect.x * dheight > hints.min_aspect.y * dwidth) {
156 dwidth, xinc);
157 if (dwidth + delta <= maxWidth)
158 dwidth += delta;
162 dwidth * hints.min_aspect.y / hints.min_aspect.x,
169 if (hints.max_aspect.x * dheight < hints.max_aspect.y * dwidth) {
171 makemult(dwidth * hints.max_aspect.y / hints.max_aspect.x -
177 makemult(dwidth -
180 if (dwidth - delta >= minWidth)
181 dwidth -= delta;
187 *widthp = dwidth;