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 561 of file eagle_parser.h.

Constructor & Destructor Documentation

ECIRCLE::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 411 of file eagle_parser.cpp.

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

412 {
413  /*
414  <!ELEMENT circle EMPTY>
415  <!ATTLIST circle
416  x %Coord; #REQUIRED
417  y %Coord; #REQUIRED
418  radius %Coord; #REQUIRED
419  width %Dimension; #REQUIRED
420  layer %Layer; #REQUIRED
421  >
422  */
423 
424  x = parseRequiredAttribute<ECOORD>( aCircle, "x" );
425  y = parseRequiredAttribute<ECOORD>( aCircle, "y" );
426  radius = parseRequiredAttribute<ECOORD>( aCircle, "radius" );
427  width = parseRequiredAttribute<ECOORD>( aCircle, "width" );
428  layer = parseRequiredAttribute<int>( aCircle, "layer" );
429 }
ECOORD y
Definition: eagle_parser.h:564
ECOORD width
Definition: eagle_parser.h:566
ECOORD x
Definition: eagle_parser.h:563
LAYER_NUM layer
Definition: eagle_parser.h:567
ECOORD radius
Definition: eagle_parser.h:565

Member Data Documentation

LAYER_NUM ECIRCLE::layer

Definition at line 567 of file eagle_parser.h.

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


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