MT2523 API Reference  LinkIt SDK v4
Define

This section defines macros for the GDI. More...

Overview

This section defines macros for the GDI.

Macros

#define GDI_COLOR_FORMAT_1   0
 1-bit, black/white color. More...
 
#define GDI_COLOR_FORMAT_8   1
 8-bit, index color. More...
 
#define GDI_COLOR_FORMAT_16   2
 16-bit, RGB 565. More...
 
#define GDI_COLOR_FORMAT_24   3
 24-bit, B,G,R 8,8,8. More...
 
#define GDI_COLOR_FORMAT_32   4
 32-bit, B,G,R,A 8,8,8,8. More...
 
#define GDI_SUCCEED   (0)
 The operation completed successfully. More...
 
#define GDI_FAILED   (-1)
 The operation has failed. More...
 

Macro Definition Documentation

#define GDI_COLOR_FORMAT_1   0

1-bit, black/white color.

#define GDI_COLOR_FORMAT_16   2

16-bit, RGB 565.

#define GDI_COLOR_FORMAT_24   3

24-bit, B,G,R 8,8,8.

#define GDI_COLOR_FORMAT_32   4

32-bit, B,G,R,A 8,8,8,8.

#define GDI_COLOR_FORMAT_8   1

8-bit, index color.

#define GDI_FAILED   (-1)

The operation has failed.

#define GDI_SUCCEED   (0)

The operation completed successfully.