KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board_construction_utils.cpp File Reference
#include <pcbnew_utils/board_construction_utils.h>
#include <pcb_shape.h>
#include <footprint.h>
#include <geometry/seg.h>
#include <math/vector2d.h>

Go to the source code of this file.

Namespaces

namespace  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.
 
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.
 
void KI_TEST::DrawArc (FOOTPRINT &aFootprint, const VECTOR2I &aCentre, const VECTOR2I &aStart, const EDA_ANGLE &aAngle, int aWidth, PCB_LAYER_ID aLayer)
 Draw an arc on a footprint.
 
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.