summaryrefslogtreecommitdiffstats
path: root/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/draw.h b/draw.h
index b7a301a..faaad61 100644
--- a/draw.h
+++ b/draw.h
@@ -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_*/