|
FuncDoodle
|
Rectangular selection defined by two corner points. More...
#include <Selection.h>
Public Member Functions | |
| std::vector< ImVec2i > | All () override |
| Returns every coordinate inside the rectangular bounds. | |
| Public Member Functions inherited from FuncDoodle::Selection | |
| virtual | ~Selection () |
Public Attributes | |
| bool | Active |
| Whether the rectangular selection is currently active. | |
| ImVec2i | Min |
| Inclusive minimum corner of the selection. | |
| ImVec2i | Max |
| Inclusive maximum corner of the selection. | |
Rectangular selection defined by two corner points.
Represents a square/rectangle selection region using a minimum and maximum coordinate. Used to collect all points inside the defined bounds.
|
overridevirtual |
Returns every coordinate inside the rectangular bounds.
Reimplemented from FuncDoodle::Selection.
| bool FuncDoodle::SquareSelection::Active |
Whether the rectangular selection is currently active.
| ImVec2i FuncDoodle::SquareSelection::Max |
Inclusive maximum corner of the selection.
| ImVec2i FuncDoodle::SquareSelection::Min |
Inclusive minimum corner of the selection.