gerbv
render.h
Go to the documentation of this file.
1 /*
2  * gEDA - GNU Electronic Design Automation
3  *
4  * render.h -- this file is a part of gerbv.
5  *
6  * $Id$
7  *
8  * Copyright (C) 2007 Stuart Brorson (SDB@cloud9.net)
9  *
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.
14  *
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.
19  *
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
23  */
24 
30 #include "gerber.h"
31 
34 
35 void render_recreate_composite_surface ();
36 void render_project_to_cairo_target (cairo_t *cr);
37 
38 void
39 render_zoom_display (gint zoomType, gdouble scaleFactor, gdouble mouseX, gdouble mouseY);
40 
41 void
42 render_calculate_zoom_from_outline(GtkWidget *widget, GdkEventButton *event);
43 
44 void
45 render_draw_selection_box_outline(void);
46 
47 void
48 render_draw_zoom_outline(gboolean centered);
49 
50 void
52 
53 void
55 
56 
57 void render_refresh_rendered_image_on_screen (void);
58 
59 void
60 render_remove_selected_objects_belonging_to_layer (
61  gerbv_selection_info_t *sel_info, gerbv_image_t *image);
62 
63 void
64 render_free_screen_resources (void);
65 
66 enum selection_action {
67  SELECTION_REPLACE = 0,
68  SELECTION_ADD,
69  SELECTION_TOGGLE,
70 };
71 
72 void render_fill_selection_buffer_from_mouse_click (gint mouseX, gint mouseY,
73  gint activeFileIndex, enum selection_action action);
74 
75 void render_fill_selection_buffer_from_mouse_drag (gint corner1X, gint corner1Y,
76  gint corner2X, gint corner2Y,
77  gint activeFileIndex, enum selection_action action);
78 
79 extern gerbv_render_info_t screenRenderInfo;
80 
Header info for the RS274X parsing functions.
void render_calculate_zoom_from_outline(GtkWidget *widget, GdkEventButton *event)
Will determine the outline of the zoomed regions.
Definition: render.c:144
gerbv_stats_t * generate_gerber_analysis(void)
Definition: render.c:655
void render_draw_measure_distance(void)
Displays a measured distance graphically on screen and in statusbar.
Definition: render.c:357
void render_toggle_measure_line(void)
Draws/erases measure line.
Definition: render.c:327
gerbv_drill_stats_t * generate_drill_analysis(void)
Definition: render.c:682