MiniGUI API Reference (MiniGUI-Threads)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
#include <gdi.h>
Uint32 bmColorRep |
Uint8 bmType |
Bitmap types, can be OR'ed by the following values:
BMP_TYPE_RLE
A RLE (run-length-encode) encoded bitmap. The encoding translates the pixel data to a stream of segments of the form
<skip> <run> <data>
where <skip> is the number of transparent pixels to skip, <run> is the number of opaque pixels to blit, and <data> are the pixels themselves.
Encoded pixels always have the same format as the BITMAP. <skip> and <run> are unsigned 8 bit integers, except for 32 bit depth where they are 16 bit. This makes the pixel data aligned at all times. Segments never wrap around from one scan line to the next. The end of one segment is marked by a zero <skip>,<run> pair.