FuncDoodle
Loading...
Searching...
No Matches
FuncDoodle::SquareSelection Struct Reference

Rectangular selection defined by two corner points. More...

#include <Selection.h>

Inheritance diagram for FuncDoodle::SquareSelection:
FuncDoodle::Selection

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.

Detailed Description

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.

Member Function Documentation

◆ All()

std::vector< ImVec2i > FuncDoodle::SquareSelection::All ( )
overridevirtual

Returns every coordinate inside the rectangular bounds.

Reimplemented from FuncDoodle::Selection.

Member Data Documentation

◆ Active

bool FuncDoodle::SquareSelection::Active

Whether the rectangular selection is currently active.

◆ Max

ImVec2i FuncDoodle::SquareSelection::Max

Inclusive maximum corner of the selection.

◆ Min

ImVec2i FuncDoodle::SquareSelection::Min

Inclusive minimum corner of the selection.


The documentation for this struct was generated from the following files: