diff options
Diffstat (limited to 'draw.h')
-rw-r--r-- | draw.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,12 +2,17 @@ #define DRAW_H_ #include <gtk/gtk.h> +#include "geometry.h" + gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, gpointer data); double getScale(); void setScale(double s); +void imageToView(VERTEX *v); +void viewToImage(VERTEX *v); + double getImageWidth(); double getImageHeight(); @@ -16,4 +21,6 @@ void setXTranslate(double x); double getYTranslate(); void setYTranslate(double y); +void redraw(); + #endif /*DRAW_H_*/ |