ScummVM API documentation
Saga2::gDisplayPort Class Reference
Inheritance diagram for Saga2::gDisplayPort:
Saga2::gPort

Public Member Functions

void fillRect (const Rect16 r)
 
void clear ()
 
void bltPixels (const gPixelMap &src, int src_x, int src_y, int dst_x, int dst_y, int width, int height)
 
void line (int16 x1, int16 y1, int16 x2, int16 y2)
 
void scrollPixels (const Rect16 r, int dx, int dy)
 
- Public Member Functions inherited from Saga2::gPort
virtual void setMap (gPixelMap *newmap, bool inverted=false)
 
void setColor (gPen color)
 
void setBgColor (gPen color)
 
void setShadowColor (gPen color)
 
void setOutlineColor (gPen color)
 
void setPenMap (gPen *pmap)
 
void setIndirectColor (uint8 color)
 
void setIndirectBgColor (uint8 color)
 
void setIndirectShColor (uint8 color)
 
void setIndirectOLColor (uint8 color)
 
void setMode (DrawModes mode)
 
void setStyle (int style)
 
void setState (gPenState &)
 
void getState (gPenState &)
 
void setClip (const Rect16 &newclip)
 
void getClip (Rect16 &r)
 
void setOrigin (Point16 pt)
 
Point16 getOrigin ()
 
void move (int16 x, int16 y)
 
void move (Vector16 v)
 
void moveTo (int16 x, int16 y)
 
void moveTo (Point16 p)
 
virtual void setPixel (int16 x, int16 y, gPen color)
 
void setPixel (int16 x, int16 y)
 
void setPixel (Point16 p, gPen color)
 
void setPixel (Point16 p)
 
virtual gPen getPixel (int16 x, int16 y)
 
virtual gPen getPixel (Point16 p)
 
void fillRect (int16 x, int16 y, int16 w, int16 h)
 
virtual void frameRect (const Rect16 r, int16 thick)
 
void frameRect (int16 x, int16 y, int16 w, int16 h, int16 thick)
 
virtual void hLine (int16 x, int16 y, int16 width)
 
virtual void vLine (int16 x, int16 y, int16 height)
 
void line (Point16 from, Point16 to)
 
void drawTo (int16 x, int16 y)
 
void drawTo (Point16 to)
 
void draw (int16 x, int16 y)
 
void draw (Vector16 v)
 
virtual void bltPixelMask (gPixelMap &src, gPixelMap &msk, int src_x, int src_y, int dst_x, int dst_y, int width, int height)
 
void setFont (gFont *newFont)
 
void setTextSpacing (int16 fs)
 
void drawText (const char *str, int16 length=-1)
 
void drawTextInBox (const char *str, int16 length, const Rect16 &r, int16 pos, Point16 borders)
 

Public Attributes

vDisplayPage _protoPage
 
- Public Attributes inherited from Saga2::gPort
gPixelMap_map
 
uint8 * _baseRow
 
int16 _rowMod
 
Point16 _origin
 
Rect16 _clip
 
gPen _fgPen
 
gPen _bgPen
 
gPen _olPen
 
gPen _shPen
 
gPen * _penMap
 
DrawModes _drawMode
 
Point16 _penPos
 
gFont_font
 
int16 _textSpacing
 
uint16 _textStyles
 

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