User’s Manual
109
Gets the current method (or color) of pixels drawn by subsequent graphic calls.
RETURN VALUE
The current brush type.
SEE ALSO
glSetBrushType
Gets a bitmap from the LCD page buffer and stores it in
xmem
RAM. This function automatically calls
glXGetFastmap
if the left edge of the bitmap is byte-aligned and the left edge and width are each
evenly divisible by 8.
This function call is intended for use only when a graphic engine is used to interface with the LCD/keypad
module.
PARAMETERS
x
is the
x
coordinate in pixels of the top left corner of the bitmap (
x
must be evenly divisible by 8).
y
is the
y
coordinate in pixels of the top left corner of the bitmap.
bmWidth
is the width in pixels of the bitmap (must be evenly divisible by 8).
bmHeight
is the height in pixels of the bitmap.
xBm
is the
xmem
RAM storage address of the bitmap.
RETURN VALUE
None.
Draws bitmap in the specified space. The data for the bitmap are stored in
xmem
. This function is similar
to
glXPutBitmap
, except that it's faster. The bitmap must be byte-aligned. Any portion of a bitmap
image or character that is outside the LCD display area will be clipped.
This function call is intended for use only when a graphic engine is used to interface with the LCD/keypad
module.
PARAMETERS
left
is the
x
coordinate of the top left corner of the bitmap (
x
must be evenly divisible by 8).
top
is the
y
coordinate in pixels of the top left corner of the bitmap.
width
is the width of the bitmap (must be evenly divisible by 8).
height
is the height of the bitmap.
xmemptr
is the
xmem
RAM storage address of the bitmap.
RETURN VALUE
None.
SEE ALSO
glXPutBitmap, glPrintf
int glGetBrushType(void);
void glXGetBitmap(int x, int y, int bmWidth,
int bmHeight, unsigned long xBm);
void glXGetFastmap(int left, int top, int width,
int height, unsigned long xmemptr);
Содержание RabbitCore
Страница 1: ...RabbitCore RCM3600 C Programmable Core Module User s Manual 019 0135 050630 C ...
Страница 6: ...RabbitCore RCM3600 ...
Страница 12: ...6 RabbitCore RCM3600 ...
Страница 92: ...86 RabbitCore RCM3600 ...
Страница 128: ...122 RabbitCore RCM3600 ...
Страница 132: ...126 RabbitCore RCM3600 ...
Страница 136: ...130 RabbitCore RCM3600 ...
Страница 138: ......