KiCad PCB EDA Suite
eda_shape.cpp File Reference
#include <bezier_curves.h>
#include <base_units.h>
#include <convert_basic_shapes_to_polygon.h>
#include <eda_draw_frame.h>
#include <geometry/shape_simple.h>
#include <geometry/shape_segment.h>
#include <geometry/shape_circle.h>
#include <macros.h>
#include <math/util.h>
#include <eda_shape.h>
#include <plotters/plotter.h>

Go to the source code of this file.

Classes

struct  EDA_SHAPE_DESC
 

Macros

#define sq(x)   pow( x, 2 )
 
#define TEST(a, b)   { if( a != b ) return a - b; }
 
#define TEST_PT(a, b)   { TEST( a.x, b.x ); TEST( a.y, b.y ); }
 

Variables

static struct EDA_SHAPE_DESC _EDA_SHAPE_DESC
 

Macro Definition Documentation

◆ sq

#define sq (   x)    pow( x, 2 )

◆ TEST

#define TEST (   a,
 
)    { if( a != b ) return a - b; }

◆ TEST_PT

#define TEST_PT (   a,
 
)    { TEST( a.x, b.x ); TEST( a.y, b.y ); }

Variable Documentation

◆ _EDA_SHAPE_DESC

struct EDA_SHAPE_DESC _EDA_SHAPE_DESC
static