summaryrefslogtreecommitdiffstats
path: root/tksao/util/grid2dbase.h
blob: ad375ce7a42a00f33fb68734c6e5eec2dd1eaff7 (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
// Copyright (C) 1999-2017
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __grid2dbase_h__
#define __grid2dbase_h__

#include "gridbase.h"

class Grid2dBase : public GridBase {
 public:
  Grid2dBase(Widget*);
  Grid2dBase(Widget*, const char*);
  virtual ~Grid2dBase();

  int gLine(int n, float* x, float* y);
  int gQch(float*, float*);
  int gMark(int, const float*, const float*, int) {return 1;}
  int gText(const char* txt, float x, float y, const char* just, 
	    float upx, float upy);
  int gTxExt(const char*, float, float, const char*, 
	      float, float, float*, float*);
  int gScales(float *alpha, float *beta);
};

#endif