|
ROLAND
0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
|
#include <canvasgl.h>
Public Member Functions | |
| CanvasGL () ROLAND_DEFAULT virtual ~CanvasGL() ROLAND_DEFAULT virtual void begin() | |
| virtual void | end () |
| virtual void | point (const Point &pos) |
| virtual void | rect (const Rect &rect) |
| virtual void | fill (const Rect &rect) |
| virtual void | line (const Point &pos1, const Point &pos2) |
| virtual void | image (const Image &image, const Rect &src, const Rect &dest) |
| virtual void | setColor (const Color &color) |
| virtual void | setClipRect (const Rect &rect) |
| virtual void | clearClipRect () |
Public Member Functions inherited from Canvas | |
| Canvas () ROLAND_DEFAULT virtual ~Canvas() ROLAND_DEFAULT virtual void begin() | |
| void | setFont (const String &fname, const String &glyphs, uchar alpha=255) |
| void | setSurface (SDL_Surface *const surface) |
| void | point (Point *const pos) |
| void | line (Point *const pos1, Point *const pos2) |
| void | rect (Rect *const rec) |
| void | fill (Rect *const rec) |
| void | image (Image *const img, const Point &pos) |
| void | image (const Image &img, const Point &pos) |
| void | write (const Point &pos, const String &text) |
| const Size & | textSize (const String &text) |
| Uint16 | textHeight () const |
| const ImageFont & | font () const |
| const Color & | color () const |
| uint | width () |
| const Rect & | clipRect () const |
Additional Inherited Members | |
Protected Attributes inherited from Canvas | |
| SDL_Surface * | mSurface |
| Size | mTextSize |
| Color | mColor |
| ImageFont | mFont |
| String | mNumber |
| Rect | mClipRect |
| CanvasGL | ( | ) |
|
virtual |
Reimplemented from Canvas.
References Canvas::mClipRect, Canvas::mSurface, and Rect::set().
|
virtual |
Reimplemented from Canvas.
|
virtual |
Implements Canvas.
References Rect::height(), Rect::width(), Rect::x(), and Rect::y.
Implements Canvas.
References Color::hasAlpha(), Image::hasAlpha(), Rect::height(), Canvas::mColor, Image::texNum(), Image::textureHeight(), Image::textureWidth(), Rect::width(), Rect::x(), and Rect::y.
|
virtual |
Implements Canvas.
References Rect::height(), Rect::width(), Rect::x(), and Rect::y.
Referenced by CanvasGL::setClipRect().
|
virtual |
Reimplemented from Canvas.
References Color::hasAlpha(), Rect::height(), Canvas::mClipRect, Canvas::mColor, Canvas::mSurface, CanvasGL::rect(), Rect::width(), Rect::x(), and Rect::y.
|
virtual |
Reimplemented from Canvas.
References Color::a(), Color::b(), Canvas::color(), Color::g(), Color::hasAlpha(), Canvas::mColor, and Color::r().
1.8.11