2 #include "canvas/canvas.hpp"
3 #include <cairomm/cairomm.h>
12 void request_push()
override
15 Cairo::RefPtr<Cairo::Surface> get_surface()
20 void load(
const class Package &pkg);
21 Cairo::RefPtr<Cairo::Surface> get_image_surface(
double scale = 1,
double grid = -1);
24 void img_polygon(
const Polygon &poly,
bool tr)
override;
25 void img_line(
const Coordi &p0,
const Coordi &p1,
const uint64_t width,
int layer,
bool tr =
true)
override;
26 void img_hole(
const Hole &hole)
override;
27 void render_pad_names(
const Package &pkg);
28 void draw_text_box(
const Placement &q,
float width,
float height,
const std::string &s, ColorP color,
int layer,
29 uint64_t text_width, TextBoxMode mode);
31 bool layer_filter =
false;
32 int current_layer = 0;
33 bool cairo_layer_visible(
int l)
const;
35 double min_line_width = 0.1_mm;
37 cairo_surface_t *recording_surface;
38 Cairo::RefPtr<Cairo::Surface> surface;
39 Cairo::RefPtr<Cairo::Context> cr;
Definition: canvas_cairo2.hpp:6
Definition: canvas.hpp:22
A hole with diameter and position, that's it.
Definition: hole.hpp:18
Definition: package.hpp:29
Definition: placement.hpp:8
Polygon used in Padstack, Package and Board for specifying filled Regions.
Definition: polygon.hpp:27
Definition: symbol.hpp:71
zip_uint64_t uint64_t
zip_uint64_t_t typedef.
Definition: zip.hpp:108