![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427148.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
141
glVScroll
void glVScroll(int left, int top, int cols, int rows, int nPix);
DESCRIPTION
Scrolls up or down, within the defined window by
x
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
cols
parameters will be verified that they are evenly divisible by 8. If not,
they will be truncated to a value that is a multiple of 8.
2. Parameters will be checked to verify that the scrolling area is valid. The minimum scroll-
ing area is a width of 8 pixels and a height of one row.
PARAMETERS
left
the top left corner of bitmap, must be evenly divisible by 8.
top
the top left corner of the bitmap.
cols
the number of columns in the window, must be evenly divisible by 8.
rows
the number of rows in the window.
nPix
the number of pixels to scroll within the defined window (a negative
value will produce a scroll up).
RETURN VALUE
None.
SEE ALSO
glHScroll
148 / 191
148 / 191