KiCad PCB EDA Suite
eda_shape.h File Reference
#include <eda_units.h>
#include <convert_to_biu.h>
#include <trigo.h>
#include <geometry/shape_poly_set.h>
#include <geometry/geometry_utils.h>

Go to the source code of this file.

Classes

class  EDA_SHAPE
 

Enumerations

enum  SHAPE_T : int {
  SHAPE_T::SEGMENT = 0, SHAPE_T::RECT, SHAPE_T::ARC, SHAPE_T::CIRCLE,
  SHAPE_T::POLY, SHAPE_T::BEZIER, SHAPE_T::LAST
}
 
enum  FILL_T : int { FILL_T::NO_FILL = 1, FILL_T::FILLED_SHAPE, FILL_T::FILLED_WITH_BG_BODYCOLOR, FILL_T::FILLED_WITH_COLOR }
 

Enumeration Type Documentation

◆ FILL_T

enum FILL_T : int
strong
Enumerator
NO_FILL 
FILLED_SHAPE 
FILLED_WITH_BG_BODYCOLOR 
FILLED_WITH_COLOR 

Definition at line 53 of file eda_shape.h.

53  : int
54 {
55  NO_FILL = 1,
56  FILLED_SHAPE, // Fill with object color
57  FILLED_WITH_BG_BODYCOLOR, // Fill with background body color
58  FILLED_WITH_COLOR // Fill with a separate color
59 };

◆ SHAPE_T

enum SHAPE_T : int
strong
Enumerator
SEGMENT 
RECT 
ARC 
CIRCLE 
POLY 
BEZIER 
LAST 

marker for list end

Definition at line 40 of file eda_shape.h.

40  : int
41 {
42  SEGMENT = 0,
43  RECT,
44  ARC,
45  CIRCLE,
46  POLY,
47  BEZIER,
48  LAST
49 };
marker for list end
Represent basic circle geometry with utility geometry functions.
Definition: circle.h:32