fudge(3G)

fudge - specifies fudge values that are added to a graphics window

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     fudge - specifies fudge values that are added to a graphics window

FORTRAN 77 SPECIFICATION
     subroutine fudge(xfudge, yfudge)
     integer*4 xfudge, yfudge

PARAMETERS
     xfudge   expects the number of pixels added in the x direction.

     yfudge   expects the number of pixels added in the y direction.

DESCRIPTION
     fudge specifies fudge values that are added to the dimensions of a
     graphics window when it is sized.  Typically, you use it to create
     interior window borders.  Call fudge prior to calling winope.

     fudge is useful in conjunction with stepun and keepas.  With stepunit the
     window size for integers m and n is:

          width = xunit * m + xfudge
          height = yunit * n + yfudge

     With keepas the window size is (width, height), where:

          (width - xfudge) * yaspect = (height - yfudge) * xaspect

SEE ALSO
     keepas, stepun, winope

NOTE
     This routine is available only in immediate mode.