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::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 430 of file eagle_parser.cpp.

431 {
432  /*
433  <!ELEMENT circle EMPTY>
434  <!ATTLIST circle
435  x %Coord; #REQUIRED
436  y %Coord; #REQUIRED
437  radius %Coord; #REQUIRED
438  width %Dimension; #REQUIRED
439  layer %Layer; #REQUIRED
440  >
441  */
442 
443  x = parseRequiredAttribute<ECOORD>( aCircle, "x" );
444  y = parseRequiredAttribute<ECOORD>( aCircle, "y" );
445  radius = parseRequiredAttribute<ECOORD>( aCircle, "radius" );
446  width = parseRequiredAttribute<ECOORD>( aCircle, "width" );
447  layer = parseRequiredAttribute<int>( aCircle, "layer" );
448 }
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

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

Member Data Documentation

◆ layer

LAYER_NUM ECIRCLE::layer

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