KiCad PCB EDA Suite
|
KiCad plotter for HPGL file format. More...
#include <cstdio>
#include <string_utils.h>
#include <convert_basic_shapes_to_polygon.h>
#include <math/util.h>
#include <trigo.h>
#include <plotters/plotter_hpgl.h>
Go to the source code of this file.
Functions | |
static double | dpoint_dist (const VECTOR2D &a, const VECTOR2D &b) |
Compute the distance between two VECTOR2D points. | |
Variables | |
static const char | hpgl_end_polygon_cmd [] = "PM 2; FP; EP;\n" |
static const double | PLUsPERDECIMIL = 0.1016 |
KiCad plotter for HPGL file format.
Since this plot engine is mostly intended for import in external programs, sadly HPGL/2 isn't supported a lot... some of the primitives use overlapped strokes to fill the shape.
Definition in file HPGL_plotter.cpp.
Compute the distance between two VECTOR2D points.
Definition at line 932 of file HPGL_plotter.cpp.
References VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by HPGL_PLOTTER::sortItems().
|
static |
Definition at line 214 of file HPGL_plotter.cpp.
Referenced by HPGL_PLOTTER::Circle(), HPGL_PLOTTER::FlashPadCircle(), and HPGL_PLOTTER::PlotPoly().
|
static |
Definition at line 219 of file HPGL_plotter.cpp.
Referenced by HPGL_PLOTTER::SetViewport().