The HOpCreateRectangle class inserts a 2D rectangle into the model segment.
More...
#include <HOpCreateRectangle.h>
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
HOpCreateRectangle::HOpCreateRectangle |
( |
HBaseView * |
view, |
|
|
int |
DoRepeat = 0 , |
|
|
int |
DoCapture = 1 |
|
) |
| |
HOpCreateRectangle::~HOpCreateRectangle |
( |
| ) |
|
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: