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

Constructor & Destructor Documentation

◆ ECIRCLE()

ECIRCLE::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 437 of file eagle_parser.cpp.

438 {
439  /*
440  <!ELEMENT circle EMPTY>
441  <!ATTLIST circle
442  x %Coord; #REQUIRED
443  y %Coord; #REQUIRED
444  radius %Coord; #REQUIRED
445  width %Dimension; #REQUIRED
446  layer %Layer; #REQUIRED
447  >
448  */
449 
450  x = parseRequiredAttribute<ECOORD>( aCircle, "x" );
451  y = parseRequiredAttribute<ECOORD>( aCircle, "y" );
452  radius = parseRequiredAttribute<ECOORD>( aCircle, "radius" );
453  width = parseRequiredAttribute<ECOORD>( aCircle, "width" );
454  layer = parseRequiredAttribute<int>( aCircle, "layer" );
455 }
ECOORD y
Definition: eagle_parser.h:565
ECOORD width
Definition: eagle_parser.h:567
ECOORD x
Definition: eagle_parser.h:564
LAYER_NUM layer
Definition: eagle_parser.h:568
ECOORD radius
Definition: eagle_parser.h:566

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

Member Data Documentation

◆ layer

LAYER_NUM ECIRCLE::layer

Definition at line 568 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: