Horizon
horizon-eda-1.3.0
src
export_gerber
canvas_gerber.hpp
1
#pragma once
2
#include "canvas/canvas.hpp"
3
4
namespace
horizon {
5
class
CanvasGerber
:
public
Canvas
{
6
public
:
7
CanvasGerber
(
class
GerberExporter
&exp);
8
void
push()
override
9
{
10
}
11
void
request_push()
override
;
12
uint64_t
outline_width = 0;
13
14
private
:
15
void
img_net(
const
Net
*net)
override
;
16
void
img_polygon(
const
Polygon
&poly,
bool
tr)
override
;
17
void
img_line(
const
Coordi
&p0,
const
Coordi
&p1,
const
uint64_t
width,
int
layer,
bool
tr =
true
)
override
;
18
void
img_padstack(
const
Padstack
&ps)
override
;
19
void
img_hole(
const
Hole
&hole)
override
;
20
void
img_set_padstack(
bool
v)
override
;
21
bool
padstack_mode =
false
;
22
23
GerberExporter
&exporter;
24
};
25
}
// namespace horizon
horizon::Polygon
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition:
polygon.hpp:27
horizon::CanvasGerber
Definition:
canvas_gerber.hpp:5
horizon::Net
Definition:
net.hpp:15
horizon::Canvas
Definition:
canvas.hpp:22
horizon::Coord< int64_t >
horizon::GerberExporter
Definition:
gerber_export.hpp:8
horizon::Padstack
Definition:
padstack.hpp:21
horizon::Hole
A hole with diameter and position, that's it.
Definition:
hole.hpp:18
libzip::uint64_t
zip_uint64_t uint64_t
zip_uint64_t_t typedef.
Definition:
zip.hpp:108
Generated by
1.8.20