summaryrefslogtreecommitdiffstats
path: root/src/trace/imagemap-gdk.h
blob: d04a84d8e3eb0d2520fec70047d724c9bb188078 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef __GRAYMAP_GDK_H__
#define __GRAYMAP_GDK_H__

#ifndef TRUE
#define TRUE  1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#include "imagemap.h"

#include <gdk-pixbuf/gdk-pixbuf.h>

/*#########################################################################
### I M A G E    M A P --- GDK
#########################################################################*/



#ifdef __cplusplus
extern "C" {
#endif

GrayMap *gdkPixbufToGrayMap(GdkPixbuf *buf);

GdkPixbuf *grayMapToGdkPixbuf(GrayMap *grayMap);

PackedPixelMap *gdkPixbufToPackedPixelMap(GdkPixbuf *buf);

GdkPixbuf *packedPixelMapToGdkPixbuf(PackedPixelMap *ppMap);

RgbMap *gdkPixbufToRgbMap(GdkPixbuf *buf);

GdkPixbuf *rgbMapToGdkPixbuf(RgbMap *rgbMap);

GdkPixbuf *indexedMapToGdkPixbuf(IndexedMap *iMap);


#ifdef __cplusplus
}
#endif


#endif /* __GRAYMAP_GDK_H__ */

/*#########################################################################
### E N D    O F    F I L E
#########################################################################*/