KiCad PCB EDA Suite
|
#include <graphics_importer_buffer.h>
Public Member Functions | |
IMPORTED_ARC (const VECTOR2D &aCenter, const VECTOR2D &aStart, const EDA_ANGLE &aAngle, 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 |
VECTOR2D | m_start |
EDA_ANGLE | m_angle |
IMPORTED_STROKE | m_stroke |
Definition at line 144 of file graphics_importer_buffer.h.
|
inline |
Definition at line 147 of file graphics_importer_buffer.h.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 159 of file graphics_importer_buffer.h.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 170 of file graphics_importer_buffer.h.
References EDA_ANGLE::AsDegrees(), EDA_ANGLE::Cos(), IMPORTED_STROKE::GetWidth(), m_angle, m_center, m_start, m_stroke, BOX2< Vec >::Merge(), EDA_ANGLE::Sin(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlineinherited |
Definition at line 48 of file graphics_importer_buffer.h.
References IMPORTED_SHAPE::m_parentShapeIndex.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 154 of file graphics_importer_buffer.h.
References GRAPHICS_IMPORTER::AddArc(), m_angle, m_center, m_start, and m_stroke.
|
inlineinherited |
Definition at line 47 of file graphics_importer_buffer.h.
References IMPORTED_SHAPE::m_parentShapeIndex.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 164 of file graphics_importer_buffer.h.
|
private |
Definition at line 193 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), and ImportTo().
|
private |
Definition at line 191 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), ImportTo(), and Transform().
|
protectedinherited |
Definition at line 53 of file graphics_importer_buffer.h.
Referenced by IMPORTED_SHAPE::GetParentShapeIndex(), and IMPORTED_SHAPE::SetParentShapeIndex().
|
private |
Definition at line 192 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), ImportTo(), and Transform().
|
private |
Definition at line 194 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), and ImportTo().