14 #include "msdevstudio/MSconfig.h"
26 using namespace hippodraw;
67 vector <double> vx (8);
68 vector <double> vy (8);
112 vector <double> vx (8);
113 vector <double> vy (8);
double getHeight() const
A shortcut to get size.height.
static DrawBorder * instance()
Returns the pointer to the singleton instance.
void draw()
Does the actual drawing in the view.
ViewBase * m_view
The View object.
static DrawBorder * s_instance
The instance of the application.
void drawKnob(double x, double y)
Draws a knob centered at x, y.
virtual Rect getDrawRect() const =0
Returns the drawing Rectangle in the devices coordinate system.
void setView(ViewBase *view)
Sets the View object.
DrawBorder class interface.
double getWidth() const
A shortcut to get size.width.
virtual void drawViewLines(const std::vector< double > &x, const std::vector< double > &y, Line::Style style, bool color, float size)=0
Draws multiple line segments.
A Color class for creating the color object following the standard RGB color space.
intp size(numeric::array arr)
Class representing a rectangle.
The abstract base class for views.
A singleton class to draw the border with knobies around the selected display.
ViewBase * getView()
Gets the view object.
DrawBorder()
A default constructor for avoiding creation except by itself.
hippodraw::ViewBase class interface