COpenVGEngine Class Reference

Inherits MEngine.

List of all members.

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 COpenVGEngineNewL (TSize aSize, EGLDisplay &aDisplay, EGLSurface &aSurface, EGLContext &aContext)

Detailed Description

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.


Constructor & Destructor Documentation

COpenVGEngine::~COpenVGEngine (  )  [virtual]

Destructor.

Definition at line 64 of file openvgengine.cpp.


Member Function Documentation

COpenVGEngine * COpenVGEngine::NewL ( TSize  aWindowSize,
EGLDisplay &  aDisplay,
EGLSurface &  aSurface,
EGLContext &  aContext 
) [static]

The two phase constructor of the COpenVGEngine class.

Parameters:
aWindowSize The window size.
aDisplayThe display on which the contents are drawn.
aSurface The EGL drawing surface.
aContext The rendering context.
Returns:
A COpenVGEngine object.

Definition at line 55 of file openvgengine.cpp.

TInt COpenVGEngine::GetSpeed (  )  [virtual]

Gets the toggle speed of the cover.

Returns:
The toggle speed of the cover.

Implements MEngine.

Definition at line 73 of file openvgengine.cpp.

void COpenVGEngine::ActivateL (  )  [virtual]

Activates the drawing surface.

Implements MEngine.

Definition at line 90 of file openvgengine.cpp.

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.

Returns:
ETrue if a redraw event is pending, else EFalse.

Implements MEngine.

Definition at line 82 of file openvgengine.cpp.

TKeyResponse COpenVGEngine::HandleKeyEventL ( const TKeyEvent &  aKeyEvent  )  [virtual]

Handles key events.

Parameters:
aKeyEvent The key event details.

Implements MEngine.

Definition at line 437 of file openvgengine.cpp.


Generated by  doxygen 1.6.2