NEURON
RubberLine Class Reference

#include <rubband.h>

Inheritance diagram for RubberLine:
Rubberband OcHandler

Public Member Functions

 RubberLine (RubberAction *=NULL, Canvas *=NULL)
 
virtual ~RubberLine ()
 
virtual void draw (Coord, Coord)
 
virtual void get_line (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
 
virtual void get_line_canvas (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
 
virtual void help ()
 
- Public Member Functions inherited from Rubberband
 Rubberband (RubberAction *=NULL, Canvas *=NULL)
 
virtual ~Rubberband ()
 
virtual bool event (Event &)
 
Coord x_begin () const
 
Coord y_begin () const
 
Coord x () const
 
Coord y () const
 
void canvas (Canvas *)
 
Canvascanvas () const
 
const Transformertransformer () const
 
const Eventevent () const
 
virtual void snapshot (Printer *)
 
- Public Member Functions inherited from OcHandler
 OcHandler ()
 
virtual ~OcHandler ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Rubberband
static const Colorcolor ()
 
static const Brushbrush ()
 
static Rubberbandcurrent ()
 
- Protected Member Functions inherited from Rubberband
virtual void undraw (Coord x, Coord y)
 
virtual void press (Event &)
 
virtual void drag (Event &)
 
virtual void release (Event &)
 
void rubber_on (Canvas *)
 
void rubber_off (Canvas *)
 

Detailed Description

Definition at line 95 of file rubband.h.

Constructor & Destructor Documentation

◆ RubberLine()

RubberLine::RubberLine ( RubberAction = NULL,
Canvas = NULL 
)

◆ ~RubberLine()

virtual RubberLine::~RubberLine ( )
virtual

Member Function Documentation

◆ draw()

virtual void RubberLine::draw ( Coord  ,
Coord   
)
virtual

Reimplemented from Rubberband.

◆ get_line()

virtual void RubberLine::get_line ( Coord x1,
Coord y1,
Coord x2,
Coord y2 
) const
virtual

◆ get_line_canvas()

virtual void RubberLine::get_line_canvas ( Coord x1,
Coord y1,
Coord x2,
Coord y2 
) const
virtual

◆ help()

virtual void RubberLine::help ( )
virtual

Reimplemented from Rubberband.


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