fudge(3G)fudge(3G)NAMEfudge - 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.
DESCRIPTIONfudge 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.
Page 1