KiCad PCB EDA Suite
ECIRCLE Struct Reference

Eagle circle. More...

#include <eagle_parser.h>

Public Member Functions

 ECIRCLE (wxXmlNode *aCircle)
 

Public Attributes

ECOORD x
 
ECOORD y
 
ECOORD radius
 
ECOORD width
 
LAYER_NUM layer
 

Detailed Description

Eagle circle.

Definition at line 571 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ ECIRCLE()

ECIRCLE::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 447 of file eagle_parser.cpp.

448 {
449  /*
450  <!ELEMENT circle EMPTY>
451  <!ATTLIST circle
452  x %Coord; #REQUIRED
453  y %Coord; #REQUIRED
454  radius %Coord; #REQUIRED
455  width %Dimension; #REQUIRED
456  layer %Layer; #REQUIRED
457  >
458  */
459 
460  x = parseRequiredAttribute<ECOORD>( aCircle, "x" );
461  y = parseRequiredAttribute<ECOORD>( aCircle, "y" );
462  radius = parseRequiredAttribute<ECOORD>( aCircle, "radius" );
463  width = parseRequiredAttribute<ECOORD>( aCircle, "width" );
464  layer = parseRequiredAttribute<int>( aCircle, "layer" );
465 }
ECOORD y
Definition: eagle_parser.h:574
ECOORD width
Definition: eagle_parser.h:576
ECOORD x
Definition: eagle_parser.h:573
LAYER_NUM layer
Definition: eagle_parser.h:577
ECOORD radius
Definition: eagle_parser.h:575

References layer, radius, width, x, and y.

Member Data Documentation

◆ layer

LAYER_NUM ECIRCLE::layer

Definition at line 577 of file eagle_parser.h.

Referenced by ECIRCLE(), EAGLE_PLUGIN::loadPlain(), and EAGLE_PLUGIN::packageCircle().

◆ radius

◆ width

◆ x

◆ y


The documentation for this struct was generated from the following files: