The DirectGDI Interface component provides a Hardware Adaptation Interface (HAI), which separates the generic and adaptation parts of the DirectGDI functionality. This HAI defines a set of interfaces that are implemented by device creators in order to provide the API functionality.
Target audience: Device creators.
The following diagram provides an overview of the classes in the DirectGDI Interface component and related classes in other components.
The following table provides a summary of the key classes that make up the DirectGDI Interface component.
Class | Description |
---|---|
This class represents the body part of the DirectGDI driver, which is implemented using the handle/body idiom. The handle part is encapsulated by the CDirectGdiDriver class, which is part of the DirectGDI component. CDirectGdiDriverInternal defines the HAI. The DirectGDI adaptation must derive a concrete class from this class and implement of its pure virtual functions. This concrete class must provide the initialisation, termination and construction of the concrete drawing engine and the creation of source and target rendering. |
|
This interface defines the main part of DirectGDI HAI. The DirectGDI adaptation must provide a concrete engine class that implements this interface. This performs the actual drawing and blitting routines that enable rendering to a RDirectGdiImageTarget instance. The implementation can take advantage of hardware acceleration if it is available. |
|
This class is a handle to a DirectGDI adaptation-specific resource which abstracts the image-based rendering target. This class allows a global sharable image resource (RSgImage) to be used as a target of DirectGDI rendering. This handle class and its DirectGDI adaptation-specific resource are non-sharable and local within the creating thread. This class is part of the generic layer and forwards any request to the CDirectGdiDriver singleton for the calling thread. |
|
This class is a handle to a DirectGDI adaptation-specific resource that is bound to an image or non-image resource (RSgDrawable). This class allows non-image resources (global and sharable between processes) to be used as a source from the DirectGDI rendering API. This class and its DirectGDI adaptation-specific resource are non-sharable and are local to the calling thread. This class is part of the generic code and forwards the creation and deletion request to the CDirectGdiDriver singleton object for the calling thread. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.