fudge(3G)
fudge - specifies fudge values that are added to a graphics window
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME fudge - specifies fudge values that are added to a graphics window C SPECIFICATION void fudge(xfudge, yfudge) long 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 winopen. fudge is useful in conjunction with stepunit and keepaspect. With stepunit the window size for integers m and n is: width = xunit * m + xfudge height = yunit * n + yfudge With keepaspect the window size is (width, height), where: (width - xfudge) * yaspect = (height - yfudge) * xaspect SEE ALSO keepaspect, stepunit, winopen NOTE This routine is available only in immediate mode.