KiCad PCB EDA Suite
IMPORTED_CIRCLE Class Reference

#include <graphics_importer_buffer.h>

Inheritance diagram for IMPORTED_CIRCLE:
IMPORTED_SHAPE

Public Member Functions

 IMPORTED_CIRCLE (const VECTOR2D &aCenter, double aRadius, double aWidth)
 
void ImportTo (GRAPHICS_IMPORTER &aImporter) const override
 

Private Attributes

const VECTOR2D m_center
 
double m_radius
 
double m_width
 

Detailed Description

Definition at line 61 of file graphics_importer_buffer.h.

Constructor & Destructor Documentation

IMPORTED_CIRCLE::IMPORTED_CIRCLE ( const VECTOR2D aCenter,
double  aRadius,
double  aWidth 
)
inline

Definition at line 64 of file graphics_importer_buffer.h.

65  : m_center( aCenter ), m_radius( aRadius ), m_width( aWidth )
66  {
67  }

Member Function Documentation

void IMPORTED_CIRCLE::ImportTo ( GRAPHICS_IMPORTER aImporter) const
inlineoverridevirtual

Implements IMPORTED_SHAPE.

Definition at line 69 of file graphics_importer_buffer.h.

References GRAPHICS_IMPORTER::AddCircle().

70  {
71  aImporter.AddCircle( m_center, m_radius, m_width );
72  }
virtual void AddCircle(const VECTOR2D &aCenter, double aRadius, double aWidth)=0
Creates an object representing a circle.

Member Data Documentation

const VECTOR2D IMPORTED_CIRCLE::m_center
private

Definition at line 75 of file graphics_importer_buffer.h.

double IMPORTED_CIRCLE::m_radius
private

Definition at line 76 of file graphics_importer_buffer.h.

double IMPORTED_CIRCLE::m_width
private

Definition at line 77 of file graphics_importer_buffer.h.


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