Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
br::pucrio::telemidia::ginga::core::mb::SDLSurface Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::mb::SDLSurface:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::mb::SDLSurface:
Collaboration graph
[legend]

Public Member Functions

 SDLSurface (GingaScreenID screenId)
 
 SDLSurface (GingaScreenID screenId, void *underlyingSurface)
 
void takeOwnership ()
 
SDL_Surface * getPendingSurface ()
 
void setExternalHandler (bool extHandler)
 
bool hasExternalHandler ()
 
void addCaps (int caps)
 
void setCaps (int caps)
 
int getCap (string cap)
 
int getCaps ()
 
bool setParentWindow (void *parentWindow)
 
void * getParentWindow ()
 
void * getSurfaceContent ()
 
void setSurfaceContent (void *surface)
 
void clearContent ()
 
void clearSurface ()
 
vector< DrawData * > * createDrawDataList ()
 
void drawLine (int x1, int y1, int x2, int y2)
 
void drawRectangle (int x, int y, int w, int h)
 
void fillRectangle (int x, int y, int w, int h)
 
void drawString (int x, int y, const char *txt)
 
void setChromaColor (int r, int g, int b, int alpha)
 
IColorgetChromaColor ()
 
void setBorderColor (int r, int g, int b, int alpha)
 
IColorgetBorderColor ()
 
void setBgColor (int r, int g, int b, int alpha)
 
IColorgetBgColor ()
 
void setColor (int r, int g, int b, int alpha)
 
IColorgetColor ()
 
void setSurfaceFont (void *font)
 
void getStringExtents (const char *text, int *w, int *h)
 
void flip ()
 
void scale (double x, double y)
 
void blit (int x, int y, ISurface *src=NULL, int srcX=-1, int srcY=-1, int srcW=-1, int srcH=-1)
 
void setClip (int x, int y, int w, int h)
 
void getSize (int *width, int *height)
 
string getDumpFileUri ()
 
void setMatrix (void *matrix)
 

The documentation for this class was generated from the following files: