KiCad PCB EDA Suite
Loading...
Searching...
No Matches
IMPORTED_SHAPE Class Referenceabstract

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_SHAPE:
IMPORTED_ARC IMPORTED_CIRCLE IMPORTED_LINE IMPORTED_POLYGON IMPORTED_SPLINE IMPORTED_TEXT

Public Member Functions

virtual ~IMPORTED_SHAPE ()
 
virtual void ImportTo (GRAPHICS_IMPORTER &aImporter) const =0
 
virtual std::unique_ptr< IMPORTED_SHAPEclone () const =0
 
virtual void Transform (const MATRIX3x3D &aTransform, const VECTOR2D &aTranslation)=0
 
void SetParentShapeIndex (int aIndex)
 
int GetParentShapeIndex () const
 

Protected Attributes

int m_parentShapeIndex = -1
 

Detailed Description

Definition at line 36 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

◆ ~IMPORTED_SHAPE()

virtual IMPORTED_SHAPE::~IMPORTED_SHAPE ( )
inlinevirtual

Definition at line 39 of file graphics_importer_buffer.h.

Member Function Documentation

◆ clone()

virtual std::unique_ptr< IMPORTED_SHAPE > IMPORTED_SHAPE::clone ( ) const
pure virtual

◆ GetParentShapeIndex()

int IMPORTED_SHAPE::GetParentShapeIndex ( ) const
inline

◆ ImportTo()

virtual void IMPORTED_SHAPE::ImportTo ( GRAPHICS_IMPORTER aImporter) const
pure virtual

◆ SetParentShapeIndex()

void IMPORTED_SHAPE::SetParentShapeIndex ( int  aIndex)
inline

Definition at line 46 of file graphics_importer_buffer.h.

References m_parentShapeIndex.

◆ Transform()

virtual void IMPORTED_SHAPE::Transform ( const MATRIX3x3D aTransform,
const VECTOR2D aTranslation 
)
pure virtual

Member Data Documentation

◆ m_parentShapeIndex

int IMPORTED_SHAPE::m_parentShapeIndex = -1
protected

Definition at line 50 of file graphics_importer_buffer.h.

Referenced by GetParentShapeIndex(), and SetParentShapeIndex().


The documentation for this class was generated from the following file: