KiCad PCB EDA Suite
board_construction_utils.cpp File Reference
#include <pcbnew_utils/board_construction_utils.h>
#include <fp_shape.h>
#include <footprint.h>
#include <geometry/seg.h>
#include <math/vector2d.h>

Go to the source code of this file.

Namespaces

 KI_TEST
 

Functions

void KI_TEST::DrawSegment (FOOTPRINT &aFootprint, const SEG &aSeg, int aWidth, PCB_LAYER_ID aLayer)
 Draw a segment in the given footprint. More...
 
void KI_TEST::DrawPolyline (FOOTPRINT &aFootprint, const std::vector< VECTOR2I > &aPts, int aWidth, PCB_LAYER_ID aLayer)
 Draw a polyline - a set of linked segments. More...
 
void KI_TEST::DrawArc (FOOTPRINT &aFootprint, const VECTOR2I &aCentre, const VECTOR2I &aStart, double aAngle, int aWidth, PCB_LAYER_ID aLayer)
 Draw an arc on a footprint. More...
 
void KI_TEST::DrawRect (FOOTPRINT &aFootprint, const VECTOR2I &aPos, const VECTOR2I &aSize, int aRadius, int aWidth, PCB_LAYER_ID aLayer)
 Draw a rectangle on a footprint. More...