KiCad PCB EDA Suite
|
#include <graphics_importer_buffer.h>
Public Member Functions | |
IMPORTED_POLYGON (const std::vector< VECTOR2D > &aVertices, const IMPORTED_STROKE &aStroke, bool aFilled, const COLOR4D &aFillColor) | |
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 |
std::vector< VECTOR2D > & | Vertices () |
bool | IsFilled () const |
const COLOR4D & | GetFillColor () const |
const IMPORTED_STROKE & | GetStroke () const |
BOX2D | GetBoundingBox () const override |
void | SetParentShapeIndex (int aIndex) |
int | GetParentShapeIndex () const |
Protected Attributes | |
int | m_parentShapeIndex = -1 |
Private Attributes | |
std::vector< VECTOR2D > | m_vertices |
IMPORTED_STROKE | m_stroke |
bool | m_filled |
COLOR4D | m_fillColor |
Definition at line 198 of file graphics_importer_buffer.h.
|
inline |
Definition at line 201 of file graphics_importer_buffer.h.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 213 of file graphics_importer_buffer.h.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 234 of file graphics_importer_buffer.h.
References m_vertices, and BOX2< Vec >::Merge().
|
inline |
Definition at line 230 of file graphics_importer_buffer.h.
References m_fillColor.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineinherited |
Definition at line 48 of file graphics_importer_buffer.h.
References IMPORTED_SHAPE::m_parentShapeIndex.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inline |
Definition at line 232 of file graphics_importer_buffer.h.
References m_stroke.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 208 of file graphics_importer_buffer.h.
References GRAPHICS_IMPORTER::AddPolygon(), m_fillColor, m_filled, m_stroke, and m_vertices.
|
inline |
Definition at line 228 of file graphics_importer_buffer.h.
References m_filled.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineinherited |
Definition at line 47 of file graphics_importer_buffer.h.
References IMPORTED_SHAPE::m_parentShapeIndex.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 218 of file graphics_importer_buffer.h.
References m_vertices.
|
inline |
Definition at line 226 of file graphics_importer_buffer.h.
References m_vertices.
|
private |
Definition at line 248 of file graphics_importer_buffer.h.
Referenced by GetFillColor(), and ImportTo().
|
private |
Definition at line 247 of file graphics_importer_buffer.h.
Referenced by ImportTo(), and IsFilled().
|
protectedinherited |
Definition at line 53 of file graphics_importer_buffer.h.
Referenced by IMPORTED_SHAPE::GetParentShapeIndex(), and IMPORTED_SHAPE::SetParentShapeIndex().
|
private |
Definition at line 246 of file graphics_importer_buffer.h.
Referenced by GetStroke(), and ImportTo().
|
private |
Definition at line 245 of file graphics_importer_buffer.h.
Referenced by GetBoundingBox(), ImportTo(), Transform(), and Vertices().