Inherits MEngine.
Public Member Functions | |
virtual | ~COpenVGEngine () |
TInt | GetSpeed () |
void | ActivateL () |
void | Deactivate () |
void | Step () |
TBool | IsPending () |
TKeyResponse | HandleKeyEventL (const TKeyEvent &aKeyEvent) |
Static Public Member Functions | |
static COpenVGEngine * | NewL (TSize aSize, EGLDisplay &aDisplay, EGLSurface &aSurface, EGLContext &aContext) |
This class creates the EGL surface, EGL display and the VG image of bitmaps. It also contains methods to display these on the EGL display.
Definition at line 32 of file openvgengine.h.
COpenVGEngine::~COpenVGEngine | ( | ) | [virtual] |
Destructor.
Definition at line 64 of file openvgengine.cpp.
COpenVGEngine * COpenVGEngine::NewL | ( | TSize | aWindowSize, | |
EGLDisplay & | aDisplay, | |||
EGLSurface & | aSurface, | |||
EGLContext & | aContext | |||
) | [static] |
The two phase constructor of the COpenVGEngine class.
aWindowSize | The window size. | |
aDisplayThe | display on which the contents are drawn. | |
aSurface | The EGL drawing surface. | |
aContext | The rendering context. |
Definition at line 55 of file openvgengine.cpp.
TInt COpenVGEngine::GetSpeed | ( | ) | [virtual] |
Gets the toggle speed of the cover.
Implements MEngine.
Definition at line 73 of file openvgengine.cpp.
void COpenVGEngine::ActivateL | ( | ) | [virtual] |
void COpenVGEngine::Deactivate | ( | ) | [virtual] |
Deactivates the drawing surface.
Implements MEngine.
Definition at line 163 of file openvgengine.cpp.
void COpenVGEngine::Step | ( | ) | [virtual] |
Updates the contents of the surface.
Implements MEngine.
Definition at line 184 of file openvgengine.cpp.
TBool COpenVGEngine::IsPending | ( | ) | [virtual] |
Checks if a redraw event is pending on the window.
Implements MEngine.
Definition at line 82 of file openvgengine.cpp.
TKeyResponse COpenVGEngine::HandleKeyEventL | ( | const TKeyEvent & | aKeyEvent | ) | [virtual] |
Handles key events.
aKeyEvent | The key event details. |
Implements MEngine.
Definition at line 437 of file openvgengine.cpp.