|
KiCad PCB EDA Suite
|
Contains methods for drawing PCB-specific items. More...
#include <pcb_painter.h>
Public Member Functions | |
| PCB_PAINTER (GAL *aGal, FRAME_T aFrameType) | |
| virtual PCB_RENDER_SETTINGS * | GetSettings () override |
| virtual bool | Draw (const VIEW_ITEM *aItem, int aLayer) override |
Protected Member Functions | |
| PCB_VIEWERS_SETTINGS_BASE * | viewer_settings () |
| void | draw (const PCB_TRACK *aTrack, int aLayer) |
| void | draw (const PCB_ARC *aArc, int aLayer) |
| void | draw (const PCB_VIA *aVia, int aLayer) |
| void | draw (const PAD *aPad, int aLayer) |
| void | draw (const PCB_SHAPE *aSegment, int aLayer) |
| void | draw (const PCB_REFERENCE_IMAGE *aBitmap, int aLayer) |
| void | draw (const PCB_FIELD *aField, int aLayer) |
| void | draw (const PCB_TEXT *aText, int aLayer) |
| void | draw (const PCB_TEXTBOX *aText, int aLayer) |
| void | draw (const PCB_TABLE *aTable, int aLayer) |
| void | draw (const FOOTPRINT *aFootprint, int aLayer) |
| void | draw (const PCB_GROUP *aGroup, int aLayer) |
| void | draw (const ZONE *aZone, int aLayer) |
| void | draw (const PCB_BARCODE *aBarcode, int aLayer) |
| void | draw (const PCB_DIMENSION_BASE *aDimension, int aLayer) |
| void | draw (const PCB_POINT *aPoint, int aLayer) |
| void | draw (const PCB_TARGET *aTarget) |
| void | draw (const PCB_MARKER *aMarker, int aLayer) |
| void | draw (const PCB_BOARD_OUTLINE *aBoardOutline, int aLayer) |
| int | getLineThickness (int aActualThickness) const |
| Get the thickness to draw for a line (e.g. | |
| virtual PAD_DRILL_SHAPE | getDrillShape (const PAD *aPad) const |
| Return drill shape of a pad. | |
| virtual SHAPE_SEGMENT | getPadHoleShape (const PAD *aPad) const |
| Return hole shape for a pad (internal units). | |
| virtual int | getViaDrillSize (const PCB_VIA *aVia) const |
| Return drill diameter for a via (internal units). | |
| void | strokeText (const wxString &aText, const VECTOR2I &aPosition, const TEXT_ATTRIBUTES &aAttrs, const KIFONT::METRICS &aFontMetrics) |
| void | renderNetNameForSegment (const SHAPE_SEGMENT &aSeg, const COLOR4D &aColor, const wxString &aNetName) const |
| void | drawBackdrillIndicator (const BOARD_ITEM *aItem, const VECTOR2D &aCenter, int aDrillSize, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) |
| Draw backdrill indicator (two semi-circles) at the given center point. | |
| void | drawPostMachiningIndicator (const BOARD_ITEM *aItem, const VECTOR2D &aCenter, PCB_LAYER_ID aLayer) |
| Draw post-machining indicator (dashed circle) at the given center point. | |
Protected Attributes | |
| PCB_RENDER_SETTINGS | m_pcbSettings |
| FRAME_T | m_frameType |
| int | m_maxError |
| int | m_holePlatingThickness |
| int | m_lockedShadowMargin |
Contains methods for drawing PCB-specific items.
Definition at line 209 of file pcb_painter.h.
Definition at line 609 of file pcb_painter.cpp.
|
overridevirtual |
Implements KIGFX::PAINTER.
Definition at line 650 of file pcb_painter.cpp.
|
protected |
Definition at line 2999 of file pcb_painter.cpp.
|
protected |
Definition at line 1431 of file pcb_painter.cpp.
|
protected |
Definition at line 981 of file pcb_painter.cpp.
|
protected |
Definition at line 3267 of file pcb_painter.cpp.
|
protected |
Definition at line 3587 of file pcb_painter.cpp.
|
protected |
Definition at line 3288 of file pcb_painter.cpp.
|
protected |
Definition at line 2683 of file pcb_painter.cpp.
|
protected |
Definition at line 3067 of file pcb_painter.cpp.
|
protected |
Definition at line 3487 of file pcb_painter.cpp.
|
protected |
Definition at line 3440 of file pcb_painter.cpp.
|
protected |
Definition at line 2635 of file pcb_painter.cpp.
|
protected |
Definition at line 2120 of file pcb_painter.cpp.
|
protected |
Definition at line 2936 of file pcb_painter.cpp.
|
protected |
Definition at line 3404 of file pcb_painter.cpp.
|
protected |
Definition at line 2690 of file pcb_painter.cpp.
|
protected |
Definition at line 2798 of file pcb_painter.cpp.
|
protected |
Definition at line 827 of file pcb_painter.cpp.
|
protected |
Definition at line 1124 of file pcb_painter.cpp.
|
protected |
Definition at line 3144 of file pcb_painter.cpp.
|
protected |
Draw backdrill indicator (two semi-circles) at the given center point.
| aItem | the board item (for color lookup) |
| aCenter | center point of the indicator |
| aDrillSize | diameter of the backdrill |
| aStartLayer | layer where backdrill starts |
| aEndLayer | layer where backdrill ends |
Definition at line 3614 of file pcb_painter.cpp.
|
protected |
Draw post-machining indicator (dashed circle) at the given center point.
| aItem | the board item (for color lookup) |
| aCenter | center point of the indicator |
| aLayer | layer to use for color |
Definition at line 3639 of file pcb_painter.cpp.
|
protectedvirtual |
Return drill shape of a pad.
Definition at line 631 of file pcb_painter.cpp.
|
protected |
Get the thickness to draw for a line (e.g.
0 thickness lines get a minimum value).
| aActualThickness | line own thickness |
Definition at line 619 of file pcb_painter.cpp.
|
protectedvirtual |
Return hole shape for a pad (internal units).
Definition at line 637 of file pcb_painter.cpp.
|
inlineoverridevirtual |
Implements KIGFX::PAINTER.
Definition at line 215 of file pcb_painter.h.
|
protectedvirtual |
Return drill diameter for a via (internal units).
Definition at line 644 of file pcb_painter.cpp.
|
protected |
Definition at line 908 of file pcb_painter.cpp.
|
protected |
Definition at line 2604 of file pcb_painter.cpp.
|
protected |
Definition at line 89 of file pcb_painter.cpp.
|
protected |
Definition at line 299 of file pcb_painter.h.
|
protected |
Definition at line 302 of file pcb_painter.h.
|
protected |
Definition at line 303 of file pcb_painter.h.
|
protected |
Definition at line 301 of file pcb_painter.h.
|
protected |
Definition at line 298 of file pcb_painter.h.