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 |
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 159 of file graphics_importer_buffer.h.
|
inline |
Definition at line 162 of file graphics_importer_buffer.h.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 174 of file graphics_importer_buffer.h.
|
inline |
Definition at line 191 of file graphics_importer_buffer.h.
References m_fillColor.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineinherited |
Definition at line 47 of file graphics_importer_buffer.h.
References IMPORTED_SHAPE::m_parentShapeIndex.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inline |
Definition at line 193 of file graphics_importer_buffer.h.
References m_stroke.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 169 of file graphics_importer_buffer.h.
References GRAPHICS_IMPORTER::AddPolygon(), m_fillColor, m_filled, m_stroke, and m_vertices.
|
inline |
Definition at line 189 of file graphics_importer_buffer.h.
References m_filled.
Referenced by GRAPHICS_IMPORTER_BUFFER::PostprocessNestedPolygons().
|
inlineinherited |
Definition at line 46 of file graphics_importer_buffer.h.
References IMPORTED_SHAPE::m_parentShapeIndex.
|
inlineoverridevirtual |
Implements IMPORTED_SHAPE.
Definition at line 179 of file graphics_importer_buffer.h.
References m_vertices.
|
inline |
Definition at line 187 of file graphics_importer_buffer.h.
References m_vertices.
|
private |
Definition at line 199 of file graphics_importer_buffer.h.
Referenced by GetFillColor(), and ImportTo().
|
private |
Definition at line 198 of file graphics_importer_buffer.h.
Referenced by ImportTo(), and IsFilled().
|
protectedinherited |
Definition at line 50 of file graphics_importer_buffer.h.
Referenced by IMPORTED_SHAPE::GetParentShapeIndex(), and IMPORTED_SHAPE::SetParentShapeIndex().
|
private |
Definition at line 197 of file graphics_importer_buffer.h.
Referenced by GetStroke(), and ImportTo().
|
private |
Definition at line 196 of file graphics_importer_buffer.h.
Referenced by ImportTo(), Transform(), and Vertices().