KiCad PCB EDA Suite
Loading...
Searching...
No Matches
shape_draw_behavior.h File Reference
#include <eda_item.h>
#include <eda_units.h>
#include <math/vector2d.h>

Go to the source code of this file.

Classes

class  SHAPE_DRAW_BEHAVIOR
 Abstract interface for interactive shape-drawing behaviours. More...
 

Enumerations

enum class  SHAPE_DRAW_RESULT { CANCELLED , NEXT_SHAPE , FINISHED }
 Outcome of an interactive shape drawing loop, telling the caller how to continue. More...
 

Enumeration Type Documentation

◆ SHAPE_DRAW_RESULT

enum class SHAPE_DRAW_RESULT
strong

Outcome of an interactive shape drawing loop, telling the caller how to continue.

Enumerator
CANCELLED 

The user cancelled; nothing to commit, stop drawing.

NEXT_SHAPE 

Commit the shape, if any, and start drawing another.

FINISHED 

The user finished; commit the shape, if any, and stop drawing.

Definition at line 32 of file shape_draw_behavior.h.