Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GIcc.h

00001 #ifndef _ICC_H_
00002 #define _ICC_H_
00003 
00004 #include "GDom.h"
00005 #include "GVariant.h"
00006 
00007 class GIccProfile : public GDom
00008 {
00009     class GIccProfilePrivate *d;
00010 
00011 public:
00012     GIccProfile(char *file = 0);
00013     ~GIccProfile();
00014 
00015     // I/O
00016     bool CreateNamed(char *name);
00017     bool Open(char *file);
00018     bool Open(GStream *stream);
00019     bool Save(char *file);
00020     bool Save(GStream *stream);
00021     
00022     // Props
00023     char *GetName();
00024     char *GetError();
00025 
00026     // Conversion
00027     bool Convert(COLOUR *Out32, COLOUR In32, GIccProfile *Profile = 0);
00028     bool Convert(GSurface *Dest, GSurface *Src, GIccProfile *Profile = 0);
00029 
00030     // Dom
00031     bool GetVariant(char *Name, GVariant &Value, char *Array = 0);
00032 };
00033 
00034 #endif

Generated on Wed Oct 26 14:46:49 2005 for Lgi by  doxygen 1.4.1