KiCad PCB EDA Suite
Loading...
Searching...
No Matches
api_pcb_utils.cpp File Reference
#include <api/api_pcb_utils.h>
#include <api/api_enums.h>
#include <board.h>
#include <board_item_container.h>
#include <footprint.h>
#include <lset.h>
#include <pad.h>
#include <pcb_group.h>
#include <pcb_reference_image.h>
#include <pcb_shape.h>
#include <pcb_track.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <zone.h>

Go to the source code of this file.

Namespaces

namespace  kiapi
 
namespace  kiapi::board
 

Functions

std::unique_ptr< BOARD_ITEMCreateItemForType (KICAD_T aType, BOARD_ITEM_CONTAINER *aContainer)
 
void kiapi::board::PackLayerSet (google::protobuf::RepeatedField< int > &aOutput, const LSET &aLayerSet)
 
LSET kiapi::board::UnpackLayerSet (const google::protobuf::RepeatedField< int > &aProtoLayerSet)
 

Function Documentation

◆ CreateItemForType()

std::unique_ptr< BOARD_ITEM > CreateItemForType ( KICAD_T  aType,
BOARD_ITEM_CONTAINER aContainer 
)