This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/draw.h

25 lines
430 B
C
Raw Normal View History

2007-06-21 19:52:03 +00:00
#ifndef DRAW_H_
#define DRAW_H_
#include <gtk/gtk.h>
#include "Vertex.h"
2007-06-21 19:52:03 +00:00
gboolean drawTopView(GtkWidget *widget, GdkEventExpose *event, gpointer data);
float getScale();
void setScale(float s);
2007-06-21 19:52:03 +00:00
2007-09-16 14:07:03 +00:00
void imageToView(Vertex *v);
void viewToImage(Vertex *v);
float getImageWidth();
float getImageHeight();
2007-06-21 19:52:03 +00:00
float getXTranslate();
void setXTranslate(float x);
float getYTranslate();
void setYTranslate(float y);
2007-06-21 19:52:03 +00:00
#endif /*DRAW_H_*/