KiCad PCB EDA Suite
lib_pin.h File Reference
#include <eda_rect.h>
#include <lib_item.h>
#include "pin_shape.h"
#include "pin_type.h"
#include "class_libentry.h"

Go to the source code of this file.

Classes

class  LIB_PIN
 

Macros

#define DEFAULT_PIN_NAME_OFFSET   40
 The offset of the pin name string from the end of the pin in mils. More...
 
#define TARGET_PIN_RADIUS   Mils2iu( 15 )
 
#define PIN_INVISIBLE   1
 

Enumerations

enum  DrawPinOrient { PIN_RIGHT = 'R', PIN_LEFT = 'L', PIN_UP = 'U', PIN_DOWN = 'D' }
 The component library pin object orientations. More...
 

Macro Definition Documentation

◆ DEFAULT_PIN_NAME_OFFSET

#define DEFAULT_PIN_NAME_OFFSET   40

The offset of the pin name string from the end of the pin in mils.

Definition at line 43 of file lib_pin.h.

◆ PIN_INVISIBLE

#define PIN_INVISIBLE   1

Definition at line 49 of file lib_pin.h.

◆ TARGET_PIN_RADIUS

#define TARGET_PIN_RADIUS   Mils2iu( 15 )

Definition at line 46 of file lib_pin.h.

Enumeration Type Documentation

◆ DrawPinOrient

The component library pin object orientations.

Enumerator
PIN_RIGHT 
PIN_LEFT 
PIN_UP 
PIN_DOWN 

Definition at line 55 of file lib_pin.h.

55  {
56  PIN_RIGHT = 'R',
57  PIN_LEFT = 'L',
58  PIN_UP = 'U',
59  PIN_DOWN = 'D'
60 };
Definition: lib_pin.h:58