|
KiCad PCB EDA Suite
|
Public Member Functions | |
| BODY_PAINTER (wxDC &aDC, double aScaleX, double aScaleY, double aOriginX, double aOriginY) | |
| wxPoint | ToDevice (const GEOMETRY::POINT &aPoint) const |
| wxRect | DeviceRect (const GEOMETRY::PIECE &aShape) const |
| std::vector< wxPoint > | DevicePoints (const GEOMETRY::PIECE &aShape) const |
| wxRegion | Region (const GEOMETRY::PIECE &aShape) const |
| The device region a shape covers, for clipping. | |
| void | Material (const wxColour &aFill, const wxColour &aEdge, const GEOMETRY::BODY &aBody) |
Private Attributes | |
| wxDC & | m_dc |
| double | m_scaleX |
| double | m_scaleY |
| double | m_originX |
| double | m_originY |
Definition at line 37 of file via_cross_section_preview.cpp.
|
inline |
|
inline |
Definition at line 61 of file via_cross_section_preview.cpp.
References VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Points, and ToDevice().
Referenced by Material(), and Region().
|
inline |
Definition at line 54 of file via_cross_section_preview.cpp.
References VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Points, and ToDevice().
Referenced by Material(), and Region().
|
inline |
Definition at line 81 of file via_cross_section_preview.cpp.
References DevicePoints(), DeviceRect(), m_dc, VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Mixed, VIA_CROSS_SECTION_GEOMETRY::BODY::m_Pieces, and VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Rect.
Referenced by VIA_CROSS_SECTION_PREVIEW::onPaint().
|
inline |
The device region a shape covers, for clipping.
Definition at line 72 of file via_cross_section_preview.cpp.
References DevicePoints(), DeviceRect(), and VIA_CROSS_SECTION_GEOMETRY::PIECE::m_Rect.
Referenced by VIA_CROSS_SECTION_PREVIEW::onPaint().
|
inline |
Definition at line 49 of file via_cross_section_preview.cpp.
References KiROUND(), m_originX, m_originY, m_scaleX, m_scaleY, VIA_CROSS_SECTION_GEOMETRY::POINT::x, and VIA_CROSS_SECTION_GEOMETRY::POINT::y.
Referenced by DevicePoints(), and DeviceRect().
|
private |
Definition at line 122 of file via_cross_section_preview.cpp.
Referenced by BODY_PAINTER(), and Material().
|
private |
Definition at line 125 of file via_cross_section_preview.cpp.
Referenced by BODY_PAINTER(), and ToDevice().
|
private |
Definition at line 126 of file via_cross_section_preview.cpp.
Referenced by BODY_PAINTER(), and ToDevice().
|
private |
Definition at line 123 of file via_cross_section_preview.cpp.
Referenced by BODY_PAINTER(), and ToDevice().
|
private |
Definition at line 124 of file via_cross_section_preview.cpp.
Referenced by BODY_PAINTER(), and ToDevice().