Specifies that a window change size in discrete steps.
FORTRAN (libfgl.a)
void stepunit(Int32 xunit, Int32 yunit)
SUBROUTINE STEPUN(xunit, yunit) INTEGER*4 xunit, yunit
The stepunit subroutine specifies the smallest steps (in pixels) by which a window can be resized. This subroutine is called at the beginning of a subroutine, but takes effect only when the winopen subroutine is called.
The stepunit subroutine can also be called in conjunction with the winconstraints subroutine to modify the enforced step size after the window is created. The default step unit is one pixel by one pixel. In other words, by default, the window can be resized arbitrarily.
With the stepunit subroutine, the programmer can prevent the user from resizing a window except in discrete jumps. If the step unit is large, this subroutine essentially limits the sizes and shapes of a window.
Note: This subroutine cannot be used to add to a display list.
xunit | Specifies the amount of change per unit in the x direction, measured in pixels. |
yunit | Specifies the amount of change per unit in the y direction, measured in pixels. |
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. |
Specifying pixel values to be added to a window with the fudge subroutine.
Binding window constraints to the current window with the winconstraints subroutine.
Creating a window with the winopen subroutine.
Creating and Managing Windows.