* rework export svg/pdf/ps functionality to export images with 1:1 scale. Previously...
[geda-gerbv.git] / src / render.h
blob616e4dc1eba8cde992c9390b6b1f29dc9b8b1c8e
1 /*
2 * gEDA - GNU Electronic Design Automation
4 * render.h -- this file is a part of gerbv.
6 * $Id$
8 * Copyright (C) 2007 Stuart Brorson (SDB@cloud9.net)
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 /** \file render.h
26 \brief Header info for the rendering support functions for libgerbv
27 \ingroup libgerbv
30 #include "gerber.h"
32 gerbv_stats_t *generate_gerber_analysis(void);
33 gerbv_drill_stats_t *generate_drill_analysis(void);
35 void render_recreate_composite_surface ();
36 void render_project_to_cairo_target (cairo_t *cr);
38 void
39 render_zoom_display (gint zoomType, gdouble scaleFactor, gdouble mouseX, gdouble mouseY);
41 void
42 render_calculate_zoom_from_outline(GtkWidget *widget, GdkEventButton *event);
44 void
45 render_draw_selection_box_outline(void);
47 void
48 render_draw_zoom_outline(gboolean centered);
50 void
51 render_toggle_measure_line(void);
53 void
54 render_draw_measure_distance(void);
57 void render_refresh_rendered_image_on_screen (void);
59 void
60 render_clear_selection_buffer (void);
62 void
63 render_remove_selected_objects_belonging_to_layer (gint index);
65 void
66 render_free_screen_resources (void);
68 void render_fill_selection_buffer_from_mouse_click (gint mouseX, gint mouseY, gint activeFileIndex,
69 gboolean eraseOldSelection);
70 void
71 render_fill_selection_buffer_from_mouse_drag (gint corner1X, gint corner1Y,
72 gint corner2X, gint corner2Y, gint activeFileIndex, gboolean eraseOldSelection);
74 gerbv_render_info_t screenRenderInfo;