User`s manual

User’s Manual 89
Scrolls right or left within the defined window by nPix number of pixels. The opposite edge of the
scrolled window will be filled in with white pixels. The window must be byte-aligned.
Parameters will be verified for the following:
1. The left and column parameters will be verified that they are evenly divisible by 8. If not,
they will be changed to be a value that is a multiple of 8.
2. Parameters will be checked to verify that the scrolling area is valid. The minimum scrolling area is
a width of 8 pixels and a height of one row.
PARAMETERS
left is the upper left corner of bitmap, must be evenly divisible by 8
top is the left top corner of the bitmap
cols is the number of columns in the window, must be evenly divisible by 8
rows is the number of rows in the window
nPix is the number of pixels to scroll within the defined window (negative value to scroll left)
SEE ALSO
glVScroll
Scrolls byte-aligned window up one pixel, bottom row filled by current pixel type (color).
PARAMETERS
left is the upper left corner of bitmap, must be evenly divisible by 8
top is the left top corner of the bitmap
cols is the number of columns in the window, must be evenly divisible by 8
rows is the number of rows in the window
SEE ALSO
glVScroll, glDown1
Scrolls byte-aligned window down one pixel, top row filled by current pixel type (color).
PARAMETERS
left is the upper left corner of bitmap, must be evenly divisible by 8
top is the left top corner of the bitmap
cols is the number of columns in the window, must be evenly divisible by 8
rows is the number of rows in the window
SEE ALSO
glVScroll, glUp1
void glHScroll(int left, int top, int cols,
int rows, int nPix);
void glUp1(int left, int top, int cols, int rows);
void glDown1(int left, int top, int cols, int rows);