Specifies pixel values that are added to a window.
void fudge(Int32 xfudge, Int32 yfudge)
SUBROUTINE FUDGE(xfudge, yfudge) INTEGER*4 xfudge, yfudge
The fudge subroutine specifies pixel values that are added to the dimensions of a window when it is sized. Typically, this subroutine is used to create interior window borders. Call the fudge subroutine before calling the winopen subroutine.
The fudge subroutine is useful in conjunction with the stepunit and keepaspect subroutines. With the stepunit subroutine, the window size for integers m and n is:
width = xunit * m + xfudge height = yunit * n + yfudge
With the keepaspect subroutine the window size is (width, height), where:
(width - xfudge) * yaspect = (height - yfudge) * xaspect
Note: This subroutine cannot be used to add to a display list.
|xfudge||Specifies the number of pixels added in the x direction.|
|yfudge||Specifies the number of pixels added in the y direction.|
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
|/usr/include/gl/gl.h||Contains C language constant and variable type definitions for GL.|
|/usr/include/gl/fgl.h||Contains FORTRAN constant and variable type definitions for GL.|
Obtaining the size of the window with the getsize subroutine.
Removing the border from a window with the noborder subroutine.
Specifying a window size change in discrete steps with the stepunit subroutine.
Creating a window with the winopen subroutine.
Creating and Managing Windows.