blob: 0fcac61ee0f43ae2290a5f8c52718a65f874d807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef DRAW_H_
#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();
double getXTranslate();
void setXTranslate(double x);
double getYTranslate();
void setYTranslate(double y);
void redraw();
#endif /*DRAW_H_*/
|