|
Public Types |
| typedef Dasher::CDasherScreen::tagpoint | point |
| | Structure defining a point on the screen.
|
Public Member Functions |
| | CDasherScreen (int width, int height) |
| virtual void | SetInterface (CDasherWidgetInterface *DasherInterface) |
| | Set the widget interface used for communication with the core.
|
| int | GetWidth () const |
| | Return the width of the screen.
|
| int | GetHeight () const |
| | Return the height of the screen.
|
| virtual void | SetFont (std::string Name)=0 |
| virtual void | SetFontSize (Dasher::Opts::FontSize fontsize)=0 |
| | Set the Dasher font to Normal, Big or VBig.
|
| virtual Dasher::Opts::FontSize | GetFontSize ()=0 |
| | Return the Dasher font size.
|
| virtual void | TextSize (symbol Character, int *Width, int *Height, int Size) const=0 |
| | Set Width and Height to those of the character Character at size Size.
|
| virtual void | DrawText (symbol Character, int x1, int y1, int Size) const=0 |
| | Draw character Character of size Size positioned at x1 and y1.
|
| virtual void | DrawRectangle (int x1, int y1, int x2, int y2, int Color, Opts::ColorSchemes ColorScheme) const=0 |
| | Draw a filled rectangle.
|
| virtual void | Polyline (point *Points, int Number) const=0 |
| | - Parameters:
-
| Number | the number of points in the array |
|
| virtual void | DrawPolygon (point *Points, int Number, int Color, Opts::ColorSchemes ColorScheme) const=0 |
| | Draw a filled polygon.
|
| virtual void | Blank () const=0 |
| | Signal that a frame is being started.
|
| virtual void | Display ()=0 |
| | Signal that a frame is finished - the screen should be updated.
|
Protected Attributes |
| const int | m_iWidth |
| | Width and height of the screen.
|
| const int | m_iHeight |
| | Width and height of the screen.
|
| CDasherWidgetInterface * | m_DasherInterface |
| | Pointer to a widget interface for communication with the core.
|