summaryrefslogtreecommitdiffstats
path: root/tksao/util/grid2dbase.h
blob: d3f1203fdc92e9518e905eea20f95b9ebc875c10 (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-2018
// 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