#include <tinyglsurface.h>
Public Member Functions | |
TinyGLSurfaceRenderer (TinyGLDriver *gfx) | |
void | render (const Bitmap *bitmap, const Common::Point &dest) override |
void | render (const Bitmap *bitmap, const Common::Point &dest, uint width, uint height) override |
void | fill (const Color &color, const Common::Point &dest, uint width, uint height) override |
Public Member Functions inherited from Stark::Gfx::SurfaceRenderer | |
void | setNoScalingOverride (bool noScalingOverride) |
void | setFadeLevel (float fadeLevel) |
void | setSnapToGrid (bool snapToGrid) |
Additional Inherited Members | |
Protected Attributes inherited from Stark::Gfx::SurfaceRenderer | |
bool | _noScalingOverride |
float | _fadeLevel |
bool | _snapToGrid |
A programmable pipeline TinyGL surface renderer
|
overridevirtual |
Draw a 2D surface from the specified bitmap
Implements Stark::Gfx::SurfaceRenderer.
|
overridevirtual |
Draw a 2D surface from the specified bitmap with given width and height
Implements Stark::Gfx::SurfaceRenderer.
|
overridevirtual |
Draw a filled 2D rectangle using the specified color
Implements Stark::Gfx::SurfaceRenderer.