Scriptel ScripTouch ProScript C Library
This documentation contains information about the ScripTouch ProScript C Library.
|
This structure contains information about a raster that should be displayed on the screen of a device. More...
#include <scriptel-hid-reports.h>
Data Fields | |
unsigned char | report_id |
Report ID, should always be SCRIPTEL_FEATURE_UPDATEDISPLAYCHUNK. | |
unsigned short | x |
Where the bitmap should be positioned horizontally. | |
unsigned short | y |
Where the bitmap should be positioned vertically. | |
unsigned short | width |
The width of the raster in pixels. | |
unsigned short | height |
The height of the raster in pixels. | |
unsigned char | bits_per_pixel |
The number of bits per pixel, 1 for black and white, 4 for monochrome. | |
unsigned char | graphic [2039] |
This contains the raw raster. More... | |
This structure contains information about a raster that should be displayed on the screen of a device.
unsigned char graphic[2039] |
This contains the raw raster.
The image should be encoded such that each pixel is encoded with the same width as defined in bits_per_pixel. The image should start with the top left corner and end with the bottom right.