Gwork: 0.3.0Dev |
Null renderer that does not render! More...
#include <Null.h>
Additional Inherited Members | |
![]() | |
virtual void | Init () |
virtual void | Begin () |
virtual void | End () |
ResourceLoader & | GetLoader () |
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::Rect & | ClipRegion () 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 ICacheToTexture * | GetCTT () |
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::Point & | GetRenderOffset () 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) |
![]() | |
Base (ResourceLoader &loader) | |
Constructor. Not public as we only instance derived implementations. | |
bool | EnsureFont (Font &font) |
![]() | |
float | m_fScale |
Null renderer that does not render!
This is used for build and unit testing.