size = GD_drawing(g)->size;
if (sz.x == 0) sz.x = size.x;
if (sz.y == 0) sz.y = size.y;
- if ((size.x < sz.x) || (size.y < sz.y) /* drawing is too big (in either axis) ... */
- || ((GD_drawing(g)->filled) /* or ratio=filled requested and ... */
- && (size.x > sz.x) && (size.y > sz.y))) /* drawing is too small (in both axes) ... */
+ if (size.x < sz.x || size.y < sz.y /* drawing is too big (in either axis) ... */
+ || (GD_drawing(g)->filled /* or ratio=filled requested and ... */
+ && size.x > sz.x && size.y > sz.y)) /* drawing is too small (in both axes) ... */
Z = MIN(size.x/sz.x, size.y/sz.y);
}