KiCad PCB EDA Suite
PAD_DRAWINFO Class Reference

#include <class_pad.h>

Public Member Functions

 PAD_DRAWINFO ()
 

Public Attributes

COLOR4D m_Color
 
COLOR4D m_HoleColor
 
COLOR4D m_NPHoleColor
 
COLOR4D m_NoNetMarkColor
 
int m_PadClearance
 
wxSize m_Mask_margin
 
bool m_Display_padnum
 
bool m_Display_netname
 
bool m_ShowPadFilled
 
bool m_ShowNCMark
 
bool m_ShowNotPlatedHole
 
bool m_IsPrinting
 
wxPoint m_Offset
 

Detailed Description

Definition at line 63 of file class_pad.h.

Constructor & Destructor Documentation

◆ PAD_DRAWINFO()

PAD_DRAWINFO::PAD_DRAWINFO ( )

Definition at line 43 of file pad_print_functions.cpp.

44 {
45  m_Color = BLACK;
46  m_HoleColor = BLACK; // could be DARKGRAY;
49  m_PadClearance = 0;
50  m_Display_padnum = true;
51  m_Display_netname = true;
52  m_ShowPadFilled = true;
53  m_ShowNCMark = true;
54  m_ShowNotPlatedHole = false;
55  m_IsPrinting = false;
56 }
Definition: colors.h:57
bool m_Display_padnum
Definition: class_pad.h:73
COLOR4D m_NoNetMarkColor
Definition: class_pad.h:70
bool m_ShowNCMark
Definition: class_pad.h:77
bool m_IsPrinting
Definition: class_pad.h:80
COLOR4D m_HoleColor
Definition: class_pad.h:68
bool m_ShowNotPlatedHole
Definition: class_pad.h:78
int m_PadClearance
Definition: class_pad.h:71
bool m_ShowPadFilled
Definition: class_pad.h:75
COLOR4D m_NPHoleColor
Definition: class_pad.h:69
COLOR4D m_Color
Definition: class_pad.h:66
Definition: colors.h:45
bool m_Display_netname
Definition: class_pad.h:74
Definition: colors.h:68

References BLACK, BLUE, m_Color, m_Display_netname, m_Display_padnum, m_HoleColor, m_IsPrinting, m_NoNetMarkColor, m_NPHoleColor, m_PadClearance, m_ShowNCMark, m_ShowNotPlatedHole, m_ShowPadFilled, and YELLOW.

Member Data Documentation

◆ m_Color

COLOR4D PAD_DRAWINFO::m_Color

◆ m_Display_netname

bool PAD_DRAWINFO::m_Display_netname

◆ m_Display_padnum

bool PAD_DRAWINFO::m_Display_padnum

◆ m_HoleColor

COLOR4D PAD_DRAWINFO::m_HoleColor

◆ m_IsPrinting

bool PAD_DRAWINFO::m_IsPrinting

Definition at line 80 of file class_pad.h.

Referenced by PAD_DRAWINFO(), D_PAD::Print(), and D_PAD::PrintShape().

◆ m_Mask_margin

wxSize PAD_DRAWINFO::m_Mask_margin

Definition at line 72 of file class_pad.h.

Referenced by D_PAD::Print(), and D_PAD::PrintShape().

◆ m_NoNetMarkColor

COLOR4D PAD_DRAWINFO::m_NoNetMarkColor

Definition at line 70 of file class_pad.h.

Referenced by PAD_DRAWINFO(), D_PAD::Print(), and D_PAD::PrintShape().

◆ m_NPHoleColor

COLOR4D PAD_DRAWINFO::m_NPHoleColor

Definition at line 69 of file class_pad.h.

Referenced by PAD_DRAWINFO(), D_PAD::Print(), and D_PAD::PrintShape().

◆ m_Offset

wxPoint PAD_DRAWINFO::m_Offset

◆ m_PadClearance

int PAD_DRAWINFO::m_PadClearance

◆ m_ShowNCMark

bool PAD_DRAWINFO::m_ShowNCMark

Definition at line 77 of file class_pad.h.

Referenced by PAD_DRAWINFO(), D_PAD::Print(), and D_PAD::PrintShape().

◆ m_ShowNotPlatedHole

bool PAD_DRAWINFO::m_ShowNotPlatedHole

◆ m_ShowPadFilled

bool PAD_DRAWINFO::m_ShowPadFilled

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