KiCad PCB EDA Suite
|
#include <eda_shape.h>
#include <bezier_curves.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_item.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 | SWAPITEM(x) std::swap( x, image->x ) |
#define | EPSILON 2 |
#define | TEST(a, b) { if( a != b ) return a - b; } |
#define | TEST_E(a, b) { if( abs( a - b ) > EPSILON ) return a - b; } |
#define | TEST_PT(a, b) { TEST_E( a.x, b.x ); TEST_E( a.y, b.y ); } |
Variables | |
static struct EDA_SHAPE_DESC | _EDA_SHAPE_DESC |
#define EPSILON 2 |
#define sq | ( | x | ) | pow( x, 2 ) |
#define TEST | ( | a, | |
b | |||
) | { if( a != b ) return a - b; } |
#define TEST_E | ( | a, | |
b | |||
) | { if( abs( a - b ) > EPSILON ) return a - b; } |
|
static |