PanView.h File Reference

#include <gtk/gtk.h>
#include <gnome.h>
#include <math.h>

Go to the source code of this file.

Classes

class  PanView

Defines

#define WINDOW_SIZE   100
#define WINDOW_ORIGIN   (WINDOW_SIZE/2)
#define TO_CANVAS_X(var)   (WINDOW_ORIGIN + ((var)*(WINDOW_SIZE/max_x)))
#define TO_CANVAS_Y(var)   (WINDOW_ORIGIN - ((var)*(WINDOW_SIZE/max_y)))
#define TO_CANVAS_NORMAL_X(var)   (WINDOW_ORIGIN + ((var)*WINDOW_SIZE))
#define TO_CANVAS_NORMAL_Y(var)   (WINDOW_ORIGIN - ((var)*WINDOW_SIZE))
#define TO_RAD(var)   (M_PI * ((var) / 180))


Define Documentation

#define TO_CANVAS_NORMAL_X var   )     (WINDOW_ORIGIN + ((var)*WINDOW_SIZE))
 

Definition at line 37 of file PanView.h.

Referenced by PanView::tip_refresh().

#define TO_CANVAS_NORMAL_Y var   )     (WINDOW_ORIGIN - ((var)*WINDOW_SIZE))
 

Definition at line 38 of file PanView.h.

Referenced by PanView::tip_refresh().

#define TO_CANVAS_X var   )     (WINDOW_ORIGIN + ((var)*(WINDOW_SIZE/max_x)))
 

Definition at line 35 of file PanView.h.

Referenced by PanView::PanView(), and PanView::tip_refresh().

#define TO_CANVAS_Y var   )     (WINDOW_ORIGIN - ((var)*(WINDOW_SIZE/max_y)))
 

Definition at line 36 of file PanView.h.

Referenced by PanView::PanView(), and PanView::tip_refresh().

#define TO_RAD var   )     (M_PI * ((var) / 180))
 

Definition at line 39 of file PanView.h.

Referenced by PanView::transform().

#define WINDOW_ORIGIN   (WINDOW_SIZE/2)
 

Definition at line 34 of file PanView.h.

#define WINDOW_SIZE   100
 

Definition at line 33 of file PanView.h.

Referenced by PanView::PanView().


Generated on Sat Apr 1 09:04:42 2006 for GXSM by  doxygen 1.4.6