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
 
int layer
 

Detailed Description

Eagle circle.

Definition at line 566 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ ECIRCLE()

ECIRCLE::ECIRCLE ( wxXmlNode *  aCircle)

Definition at line 529 of file eagle_parser.cpp.

530{
531 /*
532 <!ELEMENT circle EMPTY>
533 <!ATTLIST circle
534 x %Coord; #REQUIRED
535 y %Coord; #REQUIRED
536 radius %Coord; #REQUIRED
537 width %Dimension; #REQUIRED
538 layer %Layer; #REQUIRED
539 >
540 */
541
542 x = parseRequiredAttribute<ECOORD>( aCircle, "x" );
543 y = parseRequiredAttribute<ECOORD>( aCircle, "y" );
544 radius = parseRequiredAttribute<ECOORD>( aCircle, "radius" );
545 width = parseRequiredAttribute<ECOORD>( aCircle, "width" );
546 layer = parseRequiredAttribute<int>( aCircle, "layer" );
547}
ECOORD x
Definition: eagle_parser.h:568
ECOORD radius
Definition: eagle_parser.h:570
ECOORD y
Definition: eagle_parser.h:569
ECOORD width
Definition: eagle_parser.h:571

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

Member Data Documentation

◆ layer

int ECIRCLE::layer

◆ radius

◆ width

◆ x

◆ y


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