#include <gbrhier.h>
Inheritance diagram for GBRDriver:
Public Methods | |
GBRDriver (const wxString &_filename, bool only_visible=false) | |
constructor | |
~GBRDriver () | |
destructor | |
void | Write (Box *_Box) |
void | Write (Circle *_Circle) |
void | Write (ArrayReference *) |
void | Write (Boundary *) |
void | Write (Path *) |
void | Write (Arcseg *) |
void | Write (StructureReference *) |
void | Write (Text *) |
Protected Attributes | |
Structure * | _showstructure |
top of visible structures | |
wxTransformMatrix * | _matrix |
holds the matrix from structure reference | |
bool | _visible |
is this structure visible? | |
G_Polygon * | _AbsPolygon |
ofstream | GBR_out_file |
the filename | |
int | points_written |
the output stream | |
Point | _mid |
number of points on one line middle point of arc segment | |
Point | _next |
end point of arc to write | |
bool | _first |
to tell if it is the first point of a polygon or polyline | |
bool | _second |
to tell if it is the second point of a polygon or polyline | |
bool | _right |
to tell if right or left radius correction for contours | |
bool | _pulsed |
to tell if in pulsed mode |
Specific objects in the internal database are written as GERBER data overloaded functions from class Driver_out write the internal objects in GERBER specific form It uses the special properties on primitives to output in special GERBER code. The internal structure is written in hiearchy form (following structure references)
|
constructor
|
|
holds the units from the library for containing the absolute polygon |