Horizon
Classes | Public Member Functions | List of all members
horizon::GerberWriter Class Reference

Public Member Functions

 GerberWriter (const std::string &filename)
 
void write_line (const std::string &s)
 
void close ()
 
void comment (const std::string &s)
 
void write_format ()
 
void write_apertures ()
 
void write_lines ()
 
void write_arcs ()
 
void write_pads ()
 
void write_regions ()
 
unsigned int get_or_create_aperture_circle (uint64_t diameter)
 
void draw_line (const Coordi &from, const Coordi &to, uint64_t width)
 
void draw_arc (const Coordi &from, const Coordi &to, const Coordi &center, bool flip, uint64_t width)
 
void draw_padstack (const Padstack &ps, int layer, const Placement &transform)
 
void draw_region (const ClipperLib::Path &path, bool dark=true, int prio=0)
 
const std::string & get_filename ()
 
 GerberWriter (const std::string &filename)
 
void write_line (const std::string &s)
 
void close ()
 
void comment (const std::string &s)
 
void write_format ()
 
void write_apertures ()
 
void write_lines ()
 
void write_arcs ()
 
void write_pads ()
 
void write_regions ()
 
unsigned int get_or_create_aperture_circle (uint64_t diameter)
 
void draw_line (const Coordi &from, const Coordi &to, uint64_t width)
 
void draw_arc (const Coordi &from, const Coordi &to, const Coordi &center, bool flip, uint64_t width)
 
void draw_padstack (const Padstack &ps, int layer, const Placement &transform)
 
void draw_region (const ClipperLib::Path &path, bool dark=true, int prio=0)
 
const std::string & get_filename ()
 

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