|
KiCad PCB EDA Suite
|
#include <graphics_importer_buffer.h>
Public Member Functions | |
| IMPORTED_ELLIPSE_ARC (const VECTOR2D &aCenter, double aMajorRadius, double aMinorRadius, const EDA_ANGLE &aRotation, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aEndAngle, const IMPORTED_STROKE &aStroke) | |
| void | ImportTo (GRAPHICS_IMPORTER &aImporter) const override |
| virtual std::unique_ptr< IMPORTED_SHAPE > | clone () const override |
| void | Transform (const MATRIX3x3D &aTransform, const VECTOR2D &aTranslation) override |
| BOX2D | GetBoundingBox () const override |
| void | SetParentShapeIndex (int aIndex) |
| int | GetParentShapeIndex () const |
Protected Attributes | |
| int | m_parentShapeIndex = -1 |
Private Attributes | |
| VECTOR2D | m_center |
| double | m_majorRadius |
| double | m_minorRadius |
| EDA_ANGLE | m_rotation |
| EDA_ANGLE | m_startAngle |
| EDA_ANGLE | m_endAngle |
| IMPORTED_STROKE | m_stroke |
Definition at line 417 of file graphics_importer_buffer.h.
|
inline |
Definition at line 420 of file graphics_importer_buffer.h.
References m_center, m_endAngle, m_majorRadius, m_minorRadius, m_rotation, m_startAngle, and m_stroke.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 438 of file graphics_importer_buffer.h.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 458 of file graphics_importer_buffer.h.
References m_center, m_majorRadius, m_minorRadius, and BOX2< Vec >::Merge().
|
inlineinherited |
Definition at line 48 of file graphics_importer_buffer.h.
References m_parentShapeIndex.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 432 of file graphics_importer_buffer.h.
References GRAPHICS_IMPORTER::AddEllipseArc(), m_center, m_endAngle, m_majorRadius, m_minorRadius, m_rotation, m_startAngle, and m_stroke.
|
inlineinherited |
Definition at line 47 of file graphics_importer_buffer.h.
References m_parentShapeIndex.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 443 of file graphics_importer_buffer.h.
References VECTOR2< T >::EuclideanNorm(), m_center, m_majorRadius, m_minorRadius, and m_rotation.
|
private |
Definition at line 468 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), IMPORTED_ELLIPSE_ARC(), ImportTo(), and Transform().
|
private |
Definition at line 473 of file graphics_importer_buffer.h.
Referenced by IMPORTED_ELLIPSE_ARC(), and ImportTo().
|
private |
Definition at line 469 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), IMPORTED_ELLIPSE_ARC(), ImportTo(), and Transform().
|
private |
Definition at line 470 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), IMPORTED_ELLIPSE_ARC(), ImportTo(), and Transform().
|
protectedinherited |
Definition at line 53 of file graphics_importer_buffer.h.
Referenced by GetParentShapeIndex(), and SetParentShapeIndex().
|
private |
Definition at line 471 of file graphics_importer_buffer.h.
Referenced by IMPORTED_ELLIPSE_ARC(), ImportTo(), and Transform().
|
private |
Definition at line 472 of file graphics_importer_buffer.h.
Referenced by IMPORTED_ELLIPSE_ARC(), and ImportTo().
|
private |
Definition at line 474 of file graphics_importer_buffer.h.
Referenced by IMPORTED_ELLIPSE_ARC(), and ImportTo().