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