summaryrefslogtreecommitdiffstats
path: root/tkagif/tkagif.h
blob: 55702f6c4ca7a1a88db86ff3b5c146ab97c486a1 (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
27
// Copyright (C) 1999-2015
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __tkagif_h__
#define __tkagif_h__

class TkAGIF {
 private:
  Tcl_Interp* interp_;
  int width_;
  int height_;

  Tcl_HashTable* color_;
  
 public:
  TkAGIF(Tcl_Interp*);

  int create(int, const char*[]);
  int color(int, const char*[]);
  int add(int, const char*[]);
  int close(int, const char*[]);
};

extern TkAGIF* tkagif;

#endif