My Project
|
base class for a surface to paint to. More...
#include <PaintDevice.h>
Public Types | |
enum | PaintDeviceMetric { PdmWidth = 1, PdmHeight, PdmDepth } |
Public Member Functions | |
virtual int | devType () const |
bool | paintingActive () const |
virtual CPaintEngine * | paintEngine () const =0 |
Returns the paint engine. More... | |
int | width () const |
int | height () const |
int | depth () const |
virtual float | GetUIScalingX () const |
virtual float | GetUIScalingY () const |
virtual float | GetViewportLeft () const |
virtual float | GetViewportTop () const |
Protected Member Functions | |
virtual int | metric (PaintDeviceMetric metric) const |
virtual void | initPainter (CPainter *painter) const |
virtual CPainter * | sharedPainter () const |
Protected Attributes | |
int32 | painters |
refcount | |
Friends | |
class | CPainter |
base class for a surface to paint to.
The CRenderTarget subclass this.
|
pure virtual |
Returns the paint engine.
Note that this function should not be called explicitly by the user, since it's meant for reimplementation purposes only. The function is called internally, and the default implementation may not always return a valid pointer.
Implemented in ParaEngine::CGUIRoot, ParaEngine::CGUIBase, and ParaEngine::CRenderTarget.