My Project
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ParaEngine::CPaintDevice Class Referenceabstract

base class for a surface to paint to. More...

#include <PaintDevice.h>

Inheritance diagram for ParaEngine::CPaintDevice:
ParaEngine::CGUIBase ParaEngine::CRenderTarget ParaEngine::CGUIAttributeGrid ParaEngine::CGUIButton ParaEngine::CGUICanvas ParaEngine::CGUIContainer ParaEngine::CGUIEditBox ParaEngine::CGUIScrollBar ParaEngine::CGUISlider ParaEngine::CGUIText ParaEngine::CGUIToolTip ParaEngine::CGUIWebBrowser ParaEngine::CMiniSceneGraph ParaEngine::TextureComposeRenderTarget

Public Types

enum  PaintDeviceMetric { PdmWidth = 1, PdmHeight, PdmDepth }
 

Public Member Functions

virtual int devType () const
 
bool paintingActive () const
 
virtual CPaintEnginepaintEngine () 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 CPaintersharedPainter () const
 

Protected Attributes

int32 painters
 refcount
 

Friends

class CPainter
 

Detailed Description

base class for a surface to paint to.

The CRenderTarget subclass this.

Member Function Documentation

§ paintEngine()

virtual CPaintEngine* ParaEngine::CPaintDevice::paintEngine ( ) const
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.


The documentation for this class was generated from the following files: