Z-World Fox LP3500 User Manual page 111

C-programmable single-board computer
Table of Contents

Advertisement

void glDown1(int left, int top, int cols, int rows);
Scrolls byte-aligned window down one pixel, top column is filled by current pixel type (color).
PARAMETERS
left
is the top left corner of bitmap, must be evenly divisible by 8, otherwise truncates.
top
is the top left corner of the bitmap.
cols
is the number of columns in the window, must be evenly divisible by 8, otherwise truncates.
rows
is the number of rows in the window.
RETURN VALUE
None.
SEE ALSO
glVScroll, glUp1
void glHScroll(int left, int top, int cols,
int rows, int nPix);
Scrolls right or left, 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
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 scrolling area is
a width of 8 pixels and a height of one row.
PARAMETERS
left
is the top left corner of bitmap, must be evenly divisible by 8.
top
is the top left 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 (a negative value will produce a scroll
to the left).
RETURN VALUE
None.
SEE ALSO
glVScroll
User's Manual
cols
parameters will be verified that they are evenly divisible by 8. If not, they
105

Advertisement

Table of Contents
loading

Related Products for Z-World Fox LP3500

Table of Contents