Gwork: 0.3.0Dev
All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Gwk::Renderer::Null Class Reference

Null renderer that does not render! More...

#include <Null.h>

Inheritance diagram for Gwk::Renderer::Null:
Gwk::Renderer::Base

Additional Inherited Members

- Public Member Functions inherited from Gwk::Renderer::Base
virtual void Init ()
 
virtual void Begin ()
 
virtual void End ()
 
ResourceLoaderGetLoader ()
 Get ResourceLoader we are using for the renderer.
 
virtual void SetDrawColor (Color color)
 Set the current drawing color.
 
virtual void StartClip ()
 Start clipping the drawing. More...
 
virtual void EndClip ()
 Stop clipping the drawing.
 
void SetClipRegion (Gwk::Rect const &rect)
 
void AddClipRegion (Gwk::Rect rect)
 
bool ClipRegionVisible ()
 
const Gwk::RectClipRegion () const
 
virtual void DrawFilledRect (Gwk::Rect rect)
 Draw a filled rectangle using the current color.
 
virtual void DrawTexturedRect (Gwk::Texture *texture, Gwk::Rect targetRect, float u1=0.0f, float v1=0.0f, float u2=1.0f, float v2=1.0f)
 
virtual void DrawMissingImage (Gwk::Rect targetRect)
 
virtual Gwk::Color PixelColor (Gwk::Texture *texture, unsigned int x, unsigned int y, const Gwk::Color &col_default=Gwk::Colors::White)
 
virtual ICacheToTextureGetCTT ()
 
virtual void RenderText (Gwk::Font *font, Gwk::Point pos, const Gwk::String &text)
 
virtual Gwk::Point MeasureText (Gwk::Font *font, const Gwk::String &text)
 
virtual void DrawLinedRect (Gwk::Rect rect)
 
virtual void DrawPixel (int x, int y)
 
virtual void DrawShavedCornerRect (Gwk::Rect rect, bool bSlight=false)
 
void Translate (int &x, int &y)
 
void Translate (Gwk::Rect &rect)
 
void SetRenderOffset (const Gwk::Point &offset)
 Set the rendering offset. You shouldn't have to touch these, ever.
 
void AddRenderOffset (const Gwk::Rect &offset)
 
const Gwk::PointGetRenderOffset () const
 
void SetScale (float fScale)
 
float Scale () const
 
virtual bool InitializeContext (Gwk::WindowProvider *window)
 
virtual bool ShutdownContext (Gwk::WindowProvider *window)
 
virtual bool ResizedContext (Gwk::WindowProvider *window, int w, int h)
 
virtual bool BeginContext (Gwk::WindowProvider *window)
 
virtual bool EndContext (Gwk::WindowProvider *window)
 
virtual bool PresentContext (Gwk::WindowProvider *window)
 
- Protected Member Functions inherited from Gwk::Renderer::Base
 Base (ResourceLoader &loader)
 Constructor. Not public as we only instance derived implementations.
 
bool EnsureFont (Font &font)
 
- Protected Attributes inherited from Gwk::Renderer::Base
float m_fScale
 

Detailed Description

Null renderer that does not render!

This is used for build and unit testing.


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