2 * gEDA - GNU Electronic Design Automation
4 * render.h -- this file is a part of gerbv.
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
26 \brief Header info for the rendering support functions for libgerbv
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
);
39 render_zoom_display (gint zoomType
, gdouble scaleFactor
, gdouble mouseX
, gdouble mouseY
);
42 render_calculate_zoom_from_outline(GtkWidget
*widget
, GdkEventButton
*event
);
45 render_draw_selection_box_outline(void);
48 render_draw_zoom_outline(gboolean centered
);
51 render_toggle_measure_line(void);
54 render_draw_measure_distance(void);
57 void render_refresh_rendered_image_on_screen (void);
60 render_clear_selection_buffer (void);
63 render_remove_selected_objects_belonging_to_layer (gint index
);
66 render_free_screen_resources (void);
68 void render_fill_selection_buffer_from_mouse_click (gint mouseX
, gint mouseY
, gint activeFileIndex
,
69 gboolean eraseOldSelection
);
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
;