00001
00002
00003
00004 #ifndef _DC_TOOLS_H_
00005 #define _DC_TOOLS_H_
00006
00008 extern bool RemapDC(GSurface *pDC, GPalette *DestPal);
00009
00011 #define FLIP_X 1
00013 #define FLIP_Y 2
00015 extern bool FlipDC
00016 (
00018 GSurface *pDC,
00020 int Dir
00021 );
00022
00024 extern bool IsGreyScale(GSurface *pDC);
00025
00027 extern GSurface *GreyScaleDC(GSurface *pDC);
00028
00030 extern bool InvertDC(GSurface *pDC);
00031
00033 extern bool RotateDC(GSurface *pDC, double Angle);
00034
00036 extern bool FlipXDC(GSurface *pDC);
00038 extern bool FlipYDC(GSurface *pDC);
00039
00041 extern bool ResampleDC(GSurface *pTo, GSurface *pFrom, Progress *Prog = 0);
00042
00043 #endif