Syntax
void ShowPicture(
int x_offs,
int y_offs,
const unsigned char *ptr
);
Parameters
- x_offs
-
[in] The screen coordinates of the upper left corner of the picture. (X coordinate value)
Setting range:0 〜 (DISP_WIDTH - 1) - y_offs
-
[in] The screen coordinates of the upper left corner of the picture. (Y coordinate value)
Setting range:0 〜 (DISP_HEIGHT - 1) - ptr
-
[in] The pointer to the user bitmap.
Bitmap data stores values in the following order.Value Description ptr[0] Bitmap size in the X-axis direction ptr[1] Bitmap size in the Y-axis direction ptr[2] Bitmap value.
When the bitmap size in the X-axis direction is not a multiple of 8,
The surplus is packed from the MSB and stored.
Return value
None
Remarks
Note that the coordinates of the upper left corner of the display are (0,0).
The coordinate values in the lower right corner of the screen are (DISP_WIDTH --1, DISP_HEIGHT --1).
An example of bitmap data when the bitmap size is (10, 10) is shown below.
When the display of the status bar is set, the coordinate values in the lower right corner of the screen that can be set are as follows.
The coordinate values in the lower right corner of the screen are (DISP_WIDTH --1, DISP_HEIGHT -17).
The coordinate values in the lower right corner of the screen are (DISP_WIDTH --1, DISP_HEIGHT --1).
An example of bitmap data when the bitmap size is (10, 10) is shown below.
When the display of the status bar is set, the coordinate values in the lower right corner of the screen that can be set are as follows.
The coordinate values in the lower right corner of the screen are (DISP_WIDTH --1, DISP_HEIGHT -17).
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2020/10/02