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

Constructor & Destructor Documentation

ECIRCLE::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 440 of file eagle_parser.cpp.

441 {
442  /*
443  <!ELEMENT circle EMPTY>
444  <!ATTLIST circle
445  x %Coord; #REQUIRED
446  y %Coord; #REQUIRED
447  radius %Coord; #REQUIRED
448  width %Dimension; #REQUIRED
449  layer %Layer; #REQUIRED
450  >
451  */
452 
453  x = parseRequiredAttribute<ECOORD>( aCircle, "x" );
454  y = parseRequiredAttribute<ECOORD>( aCircle, "y" );
455  radius = parseRequiredAttribute<ECOORD>( aCircle, "radius" );
456  width = parseRequiredAttribute<ECOORD>( aCircle, "width" );
457  layer = parseRequiredAttribute<int>( aCircle, "layer" );
458 }
ECOORD y
Definition: eagle_parser.h:573
ECOORD width
Definition: eagle_parser.h:575
ECOORD x
Definition: eagle_parser.h:572
LAYER_NUM layer
Definition: eagle_parser.h:576
ECOORD radius
Definition: eagle_parser.h:574

Member Data Documentation

LAYER_NUM ECIRCLE::layer

Definition at line 576 of file eagle_parser.h.

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


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