Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
101
11.5.4.16 enum MML_GDC_DISP_TILE_MODE
Enumeration of possible tile modes for a window.
Enumerator
MML_GDC_DISP_TILE_MODE_ZERO
Pixel outside the surface are 0.
MML_GDC_DISP_TILE_MODE_CONST
Pixel outside the surface use the const color of the window.
MML_GDC_DISP_TILE_MODE_PAD
Pixel outside the surface use the closest pixel from source buffer, this must not be set for RLD operations
MML_GDC_DISP_TILE_MODE_CLIP
The window position and size will be clipped to the overlapped area of the given window and the surface.
11.5.4.17 enum MML_GDC_DISP_WIN_ATTR
Enumeration of the different configuration attributes for windows.
Enumerator
MML_GDC_DISP_WIN_ATTR_LAYER_ID
Layer used for the window (see MML_GDC_DISP_LAYER). This attribute can only be read.
MML_GDC_DISP_WIN_ATTR_SUB_LAYER_ID
Sub layer used for the window (MML_GDC_DISP_SUB_LAYER_1 .. MML_GDC_DISP_SUB_LAYER_8) or
MML_GDC_DISP_SUB_LAYER_DEFAULT if feature
MML_GDC_DISP_FEATURE_MULTI_LAYER is not used for the window. This attribute can only be read.
MML_GDC_DISP_WIN_ATTR_TOPLEFT_X
Top left X coordinate of the window on the display.
Note:
To set a negative value for X use the following formula:
value = 0xffffffff - ((MM_U32)(-X) - 1);
If the value is returned by mmlGdcDispWinGetAttribute, the most significant bit must be used to check for
negative values:
X = ((value & 0x80000000) == 0) ? (int)value : -(int)((0xffffffff - value) + 1);
MML_GDC_DISP_WIN_ATTR_TOPLEFT_Y
Top left Y coordinate of the window on the display.
Note:
The Y value can be negative. Description see MML_GDC_DISP_WIN_ATTR_TOPLEFT_X.
MML_GDC_DISP_WIN_ATTR_WIDTH
Width of window on the display.
Note:
The area beyond the range of the underlying framebuffer or surface will be filled as black.
MML_GDC_DISP_WIN_ATTR_HEIGHT
Height of window on the display.
Note:
The area beyond the range of the underlying framebuffer or surface will be filled as black.