KiCad PCB EDA Suite
|
D_CODE class implementation. More...
#include <trigo.h>
#include <gerbview_frame.h>
#include <gerber_file_image.h>
#include <eda_units.h>
#include <convert_basic_shapes_to_polygon.h>
Go to the source code of this file.
Macros | |
#define | DCODE_DEFAULT_SIZE gerbIUScale.mmToIU( 0.1 ) |
#define | SEGS_CNT 64 |
Functions | |
static void | addHoleToPolygon (SHAPE_POLY_SET *aPolygon, APERTURE_DEF_HOLETYPE aHoleShape, const VECTOR2I &aSize, const VECTOR2I &aAnchorPos) |
|
static |
Definition at line 422 of file dcode.cpp.
References SHAPE_POLY_SET::Append(), APT_DEF_RECT_HOLE, APT_DEF_ROUND_HOLE, SHAPE_POLY_SET::BooleanSubtract(), ERROR_INSIDE, SHAPE_POLY_SET::Fracture(), gerbIUScale, EDA_IU_SCALE::mmToIU(), SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::PM_FAST, TransformCircleToPolygon(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by D_CODE::ConvertShapeToPolygon().