|
| SFML2 (ResourceLoader &loader, sf::RenderTarget &target) |
|
void | EnsurePrimitiveType (sf::PrimitiveType type) |
|
void | EnsureTexture (const sf::Texture *texture) |
|
void | AddVert (int x, int y, float u=0.0f, float v=0.0f) |
|
void | Flush () |
|
void | Begin () override |
|
void | End () override |
|
void | StartClip () override |
| Start clipping the drawing. More...
|
|
void | EndClip () override |
| Stop clipping the drawing.
|
|
void | SetDrawColor (Gwk::Color color) override |
| Set the current drawing color.
|
|
void | DrawPixel (int x, int y) override |
|
void | DrawLinedRect (Gwk::Rect rect) override |
|
void | DrawFilledRect (Gwk::Rect rect) override |
| Draw a filled rectangle using the current color.
|
|
void | DrawShavedCornerRect (Gwk::Rect rect, bool bSlight=false) override |
|
void | DrawTexturedRect (Gwk::Texture *texture, Gwk::Rect rect, float u1, float v1, float u2, float v2) override |
|
void | RenderText (Gwk::Font *font, Gwk::Point pos, const Gwk::String &text) override |
|
Gwk::Point | MeasureText (Gwk::Font *font, const Gwk::String &text) override |
|
Gwk::Color | PixelColor (Gwk::Texture *texture, unsigned int x, unsigned int y, const Gwk::Color &col_default) override |
|
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 () |
|
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) |
|