render.h

Go to the documentation of this file.
00001 /*
00002  * gEDA - GNU Electronic Design Automation
00003  *
00004  * render.h -- this file is a part of gerbv.
00005  *
00006  * $Id$
00007  *
00008  *   Copyright (C) 2007 Stuart Brorson (SDB@cloud9.net)
00009  *
00010  * This program is free software; you can redistribute it and/or modify
00011  * it under the terms of the GNU General Public License as published by
00012  * the Free Software Foundation; either version 2 of the License, or
00013  * (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  * GNU General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU General Public License
00021  * along with this program; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
00023  */
00024 
00030 #include "gerber.h"
00031 
00032 gerbv_stats_t *generate_gerber_analysis(void);
00033 gerbv_drill_stats_t *generate_drill_analysis(void);
00034 
00035 #ifdef RENDER_USING_GDK
00036 /* Nothing for now */
00037 #else
00038 void render_recreate_composite_surface ();
00039 void render_project_to_cairo_target (cairo_t *cr);
00040 #endif
00041 
00042 void
00043 render_zoom_display (gint zoomType, gdouble scaleFactor, gdouble mouseX, gdouble mouseY);
00044 
00045 void
00046 render_calculate_zoom_from_outline(GtkWidget *widget, GdkEventButton *event);
00047 
00048 void
00049 render_draw_selection_box_outline(void);
00050 
00051 void
00052 render_draw_zoom_outline(gboolean centered);
00053 
00054 void
00055 render_draw_measure_distance(void);
00056 
00057 
00058 void render_refresh_rendered_image_on_screen (void);
00059 
00060 void
00061 render_clear_selection_buffer (void);
00062 
00063 #ifndef RENDER_USING_GDK
00064 void render_fill_selection_buffer_from_mouse_click (gint mouseX, gint mouseY, gint activeFileIndex,
00065               gboolean eraseOldSelection);
00066 void
00067 render_fill_selection_buffer_from_mouse_drag (gint corner1X, gint corner1Y,
00068        gint corner2X, gint corner2Y, gint activeFileIndex, gboolean eraseOldSelection);
00069 
00070 #endif
00071 
00072 gerbv_render_info_t screenRenderInfo;
00073 
00074 
00075 
00076 

Generated on Tue Aug 19 00:14:49 2008 for gerbv by  doxygen 1.5.6