blob: faaad615c68e21b0fcadfea118077b8a8b68513f (
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_*/
|