KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCAD2KICAD::PCAD_PAD_SHAPE Class Reference

#include <pcad_pad_shape.h>

Inheritance diagram for PCAD2KICAD::PCAD_PAD_SHAPE:
PCAD2KICAD::PCAD_PCB_COMPONENT PCAD2KICAD::PCAD_VIA_SHAPE

Public Member Functions

 PCAD_PAD_SHAPE (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard)
 
 ~PCAD_PAD_SHAPE ()
 
virtual void Parse (XNODE *aNode, const wxString &aDefaultUnits, const wxString &aActualConversion)
 
void AddToBoard (FOOTPRINT *aFootprint=nullptr) override
 
virtual void SetPosOffset (int aX_offs, int aY_offs)
 
virtual void Flip ()
 
PCB_LAYER_ID GetKiCadLayer () const
 
int GetNetCode (const wxString &aNetName) const
 

Public Attributes

wxString m_Shape
 
int m_Width
 
int m_Height
 
char m_ObjType
 
int m_PCadLayer
 
PCB_LAYER_ID m_KiCadLayer
 
KIID m_Uuid
 
int m_PositionX
 
int m_PositionY
 
EDA_ANGLE m_Rotation
 
TTEXTVALUE m_Name
 
wxString m_Net
 
int m_NetCode
 
wxString m_CompRef
 
wxString m_PatGraphRefName
 

Protected Attributes

PCAD_CALLBACKSm_callbacks
 
BOARDm_board
 

Detailed Description

Definition at line 37 of file pcad_pad_shape.h.

Constructor & Destructor Documentation

◆ PCAD_PAD_SHAPE()

PCAD2KICAD::PCAD_PAD_SHAPE::PCAD_PAD_SHAPE ( PCAD_CALLBACKS aCallbacks,
BOARD aBoard 
)

Definition at line 35 of file pcad_pad_shape.cpp.

References m_Height, m_Shape, and m_Width.

◆ ~PCAD_PAD_SHAPE()

PCAD2KICAD::PCAD_PAD_SHAPE::~PCAD_PAD_SHAPE ( )

Definition at line 44 of file pcad_pad_shape.cpp.

Member Function Documentation

◆ AddToBoard()

void PCAD2KICAD::PCAD_PAD_SHAPE::AddToBoard ( FOOTPRINT aFootprint = nullptr)
inlineoverridevirtual

Implements PCAD2KICAD::PCAD_PCB_COMPONENT.

Definition at line 46 of file pcad_pad_shape.h.

◆ Flip()

◆ GetKiCadLayer()

◆ GetNetCode()

◆ Parse()

void PCAD2KICAD::PCAD_PAD_SHAPE::Parse ( XNODE aNode,
const wxString &  aDefaultUnits,
const wxString &  aActualConversion 
)
virtual

◆ SetPosOffset()

Member Data Documentation

◆ m_board

◆ m_callbacks

◆ m_CompRef

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_CompRef
inherited

◆ m_Height

int PCAD2KICAD::PCAD_PAD_SHAPE::m_Height

◆ m_KiCadLayer

◆ m_Name

◆ m_Net

◆ m_NetCode

◆ m_ObjType

◆ m_PatGraphRefName

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_PatGraphRefName
inherited

◆ m_PCadLayer

◆ m_PositionX

◆ m_PositionY

◆ m_Rotation

◆ m_Shape

wxString PCAD2KICAD::PCAD_PAD_SHAPE::m_Shape

◆ m_Uuid

KIID PCAD2KICAD::PCAD_PCB_COMPONENT::m_Uuid
inherited

Definition at line 66 of file pcad_pcb_component.h.

◆ m_Width

int PCAD2KICAD::PCAD_PAD_SHAPE::m_Width

The documentation for this class was generated from the following files: