|
| DirectX9 (IDirect3DDevice9 *device=nullptr) |
|
virtual void | Begin () |
|
virtual void | End () |
|
virtual void | Release () |
|
virtual void | SetDrawColor (Gwk::Color color) |
| Set the current drawing color.
|
|
virtual void | DrawFilledRect (Gwk::Rect rect) |
| Draw a filled rectangle using the current color.
|
|
virtual void | LoadFont (Gwk::Font *font) |
|
virtual void | FreeFont (Gwk::Font *font) |
|
virtual void | RenderText (Gwk::Font *font, Gwk::Point pos, const Gwk::String &text) |
|
virtual Gwk::Point | MeasureText (Gwk::Font *font, const Gwk::String &text) |
|
void | StartClip () |
| Start clipping the drawing. More...
|
|
void | EndClip () |
| Stop clipping the drawing.
|
|
void | DrawTexturedRect (Gwk::Texture *texture, Gwk::Rect targetRect, float u1=0.0f, float v1=0.0f, float u2=1.0f, float v2=1.0f) |
|
void | LoadTexture (Gwk::Texture *texture) |
|
void | FreeTexture (Gwk::Texture *texture) |
|
Gwk::Color | PixelColor (Gwk::Texture *texture, unsigned int x, unsigned int y, const Gwk::Color &col_default) |
|
virtual bool | InitializeContext (Gwk::WindowProvider *window) |
|
virtual bool | ShutdownContext (Gwk::WindowProvider *window) |
|
virtual bool | PresentContext (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 void | Init () |
|
ResourceLoader & | GetLoader () |
| Get ResourceLoader we are using for the renderer.
|
|
void | SetClipRegion (Gwk::Rect const &rect) |
|
void | AddClipRegion (Gwk::Rect rect) |
|
bool | ClipRegionVisible () |
|
const Gwk::Rect & | ClipRegion () const |
|
virtual void | DrawMissingImage (Gwk::Rect targetRect) |
|
virtual ICacheToTexture * | GetCTT () |
|
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 |
|