HOpCreateRectangle Class Reference

The HOpCreateRectangle class inserts a 2D rectangle into the model segment. More...

#include <HOpCreateRectangle.h>

List of all members.

Public Member Functions

 HOpCreateRectangle (HBaseView *view, int DoRepeat=0, int DoCapture=1)
 ~HOpCreateRectangle ()
virtual const char * GetName ()
virtual int OnLButtonUp (HEventInfo &event)
HBaseOperator * Clone ()


Detailed Description

The HOpCreateRectangle class inserts a 2D rectangle into the model segment.

HOpCreateRectangle reimplements one of the mouse methods defined on the base class and maps the event information to operator routines. See the event method for a more detailed description


Constructor & Destructor Documentation

HOpCreateRectangle::HOpCreateRectangle HBaseView *  view,
int  DoRepeat = 0,
int  DoCapture = 1
 

constructor

HOpCreateRectangle::~HOpCreateRectangle  ) 
 


Member Function Documentation

HBaseOperator* HOpCreateRectangle::Clone  ) 
 

virtual const char* HOpCreateRectangle::GetName  )  [virtual]
 

Returns:
A pointer to a character string denoting the name of the operator 'Create Rectangle'

virtual int HOpCreateRectangle::OnLButtonUp HEventInfo &  event  )  [virtual]
 

Takes the construction rectangle information and inserts a rectangle into the model segment

Parameters:
event An HEventInfo object containing information about the current event.
Returns:
A value indicating the result of the event handling.


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