#include <sdsgesdl.h>
Inheritance diagram for SDLSGESurfaceDriver:
Public Member Functions | |
void | penstyle (const char *) |
void | line (double x1, double y1, double x2, double y2) |
void | rectangle (double x1, double y1, double x2, double y2) |
void | dot (double x1, double y1) |
void | circle (double x1, double y1, int radius) |
void | arc (double x1, double y1, int radius, double an1, double an2) |
void | bezier (double x1, double y1, double x2, double y2, double x3, double y3) |
void | fill_h_triangle (double x1, double y1, double x2, double y2, double x3) |
void | fill_v_triangle (double x1, double y1, double x2, double y2, double y3) |
void | fillrect (double x1, double y1, double x2, double y2, unsigned char fr, unsigned char fg, unsigned char fb) |
void | clear (unsigned char, unsigned char, unsigned char) |
void | clear_rect (int, int, int, int, unsigned char, unsigned char, unsigned char) |
virtual void | textout (double x1, double y1, const char *text) |
virtual void | textrect (double x1, double y1, double x2, double y2, const char *text) |
virtual void | setfont (const char *font) |
virtual void | setfontsize (int) |
virtual void | setjustification (textjustify) |
bool | rectfits (double, double, double, double) |
void | set_background (Uint8, Uint8, Uint8) |
void | set_cliprect (int, int, int w, int h) |
void | clear_cliprect (void) |
SDLSGESurfaceDriver (int, int) | |
SDLSGESurfaceDriver (SDL_Surface *) | |
SDLSGESurfaceDriver (SDL_Surface *, int, int) | |
~SDLSGESurfaceDriver () | |
Protected Attributes | |
sge_TTFont * | font |
int | fontsz |
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
|
|
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
This function returns true if the passed rectangle fits the surface. The default does a straight rectangle fit check. Depending on implementation details of your surface driver, you might want to change this function to return true if any overlap exists, or, like the Xp driver, use a safe bound area of x percent of the canvas. Reimplemented from SurfaceDriver. |
|
|
|
Implements SurfaceDriver. |
|
Implements SurfaceDriver. |
|
|
|
|