Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
188
11.23
Util class collection
Modules
CCtx
CDevice
CDisplay
CMenu
CSurface
CWindow
11.23.1 Detailed Description
The util class collection defines some classes to abstract low level driver functionality. All these classes are defined
as header files only.
11.24
CCtx
Data Structures
class CCtx
11.24.1 Detailed Description
The class CCtx is a simple abstraction of a MML_GDC_PE_CONTEXT object. The application can use an object of
this calls direct for blitting because the constructor takes over the initialization of the context. After a call of
OpenDrawCtx this context can be also used for drawing.
11.25
CDevice
Data Structures
class CDevice
11.25.1 Detailed Description
The Class CDevice is responsible to initialize the 2D core driver and util part in the Open() function and also
allocates and assigns command sequencer fifo. It is required that this Open() function is called before using any
other util class functions and the application must also ensure that the device destruction is called as the last
instruction of an application. Only one object of the CDevice call is allowed in a program.
11.26
CDisplay
Data Structures
class CDisplay
11.26.1 Detailed Description
The class CDisplay abstracts a MML_GDC_DISPLAY object and adds some helper functions.