/*
   File:        gpro.h
   Author:      Andrew W. Moore
   Created:     Sat Sep 12 19:52:10 EDT 1992
   Description: Header for Evil Stuff defining 2d graphics view of kd space

   Copyright (C) 1992, Andrew W. Moore
*/

typedef struct axis_struct
{
  float lo,hi;   /* Assumed range of values of the component */
  float glo,ghi; /* Physical coord range in window to scale to */
  int comp;      /* This axis corresponds to dimension "comp" of kdspace */
} axis;

typedef struct gproj_struct
{
  int size;
  float base[MAX_DIM];
  axis x;
  axis y;
} gproj;

extern void gp_clear();                       /* (gp) */
extern void gp_draw_dot();                    /* (gp,x,y) */
extern void gp_draw_little_square();          /* (gp,x,y) */
extern void gp_draw_string();                 /* (gp,x,y,s) */
extern void gp_draw_line();                   /* (gp,x1,y1,x2,y2) */
extern void gp_draw_box();                    /* (gp,x1,y1,x2,y2) */
extern void gp_draw_rectangle();              /* (gp,x,y,x2,y2) */
extern void gp_print_data();                  /* (gp) */
extern int gp_use_mouse();                    /* (gp,farr) */
extern void gproj_from_m_and_s();             /* (gp,mid,scls,dim,xcmp,ycmp)*/
extern void gp_draw_floats_dot();             /* (gp,farr) */
extern void gp_draw_circle();                 /* (gp,x,y,pix_radius) */
extern void gp_draw_floats_circle();          /* (gp,farr,pix_radius) */
extern void gp_draw_disc();                   /* (gp,x,y,pix_radius) */
extern void gp_draw_floats_disc();            /* (gp,farr,pixel_radius) */
extern void gp_draw_floats_little_square();   /* (gp,farr) */
extern void gp_draw_floats_line();            /* (gp,farr1,farr2) */



