KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_shape.h File Reference
#include <memory>
#include <optional>
#include <bezier_curves.h>
#include <core/mirror.h>
#include <geometry/ellipse.h>
#include <geometry/shape_poly_set.h>
#include <geometry/approximation.h>
#include <geometry/shape_ellipse.h>
#include <eda_fill.h>
#include <properties/property.h>
#include <stroke_params.h>
#include <line_ending.h>
#include <trigo.h>
#include <frame_type.h>
#include <api/serializable.h>

Go to the source code of this file.

Classes

struct  ARC_MID
 Holding struct to keep originating midpoint. More...
 
struct  EDA_SHAPE_HATCH_CACHE_DATA
 
class  EDA_SHAPE
 

Namespaces

namespace  kiapi
 
namespace  kiapi::common
 
namespace  kiapi::common::types
 

Enumerations

enum class  SHAPE_T : int {
  UNDEFINED = -1 , SEGMENT = 0 , RECTANGLE , ARC ,
  CIRCLE , POLY , BEZIER , ELLIPSE ,
  ELLIPSE_ARC
}
 

Functions

 DECLARE_ENUM_TO_WXANY (SHAPE_T)
 
 DECLARE_ENUM_TO_WXANY (LINE_STYLE)
 
 DECLARE_ENUM_TO_WXANY (LINE_ENDING_STYLE)
 
 DECLARE_ENUM_TO_WXANY (UI_FILL_MODE)
 

Enumeration Type Documentation

◆ SHAPE_T

enum class SHAPE_T : int
strong
Enumerator
UNDEFINED 
SEGMENT 
RECTANGLE 

Use RECTANGLE instead of RECT to avoid collision in a Windows header.

ARC 
CIRCLE 
POLY 
BEZIER 
ELLIPSE 
ELLIPSE_ARC 

Definition at line 53 of file eda_shape.h.

Function Documentation

◆ DECLARE_ENUM_TO_WXANY() [1/4]

DECLARE_ENUM_TO_WXANY ( LINE_ENDING_STYLE )

◆ DECLARE_ENUM_TO_WXANY() [2/4]

DECLARE_ENUM_TO_WXANY ( LINE_STYLE )

◆ DECLARE_ENUM_TO_WXANY() [3/4]

DECLARE_ENUM_TO_WXANY ( SHAPE_T )

◆ DECLARE_ENUM_TO_WXANY() [4/4]

DECLARE_ENUM_TO_WXANY ( UI_FILL_MODE )