diff options
Diffstat (limited to 'src/vec_core.h')
-rw-r--r-- | src/vec_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vec_core.h b/src/vec_core.h index adaa241..8267fd1 100644 --- a/src/vec_core.h +++ b/src/vec_core.h @@ -53,5 +53,6 @@ namespace gerbolyze { void parse_img_meta(const pugi::xml_node &node, double &x, double &y, double &width, double &height); std::string read_img_data(const pugi::xml_node &node); void draw_bg_rect(cairo_t *cr, double width, double height, ClipperLib::Paths &clip_path, PolygonSink &sink, cairo_matrix_t &viewport_matrix); + void handle_aspect_ratio(std::string spec, double &scale_x, double &scale_y, double &off_x, double &off_y, double cols, double rows); } |