29 #ifndef PGF_PGFTYPES_H 30 #define PGF_PGFTYPES_H 48 #define PGFCodecVersion "6.14.12" 49 #define PGFCodecVersionID 0x061412 55 #define PGFMagic "PGF" 59 #define DownsampleThreshold 3 60 #define ColorTableLen 256 68 #ifdef __PGF32SUPPORT__ 69 #define PGFVersion (Version2 | PGF32 | Version5 | Version6) 71 #define PGFVersion (Version2 | Version5 | Version6) 77 #define BufferSize 16384 78 #define RLblockSizeLen 15 79 #define LinBlockSize 8 80 #define InterBlockSize 4 81 #ifdef __PGF32SUPPORT__ 82 #define MaxBitPlanes 31 84 #define MaxBitPlanes 15 86 #define MaxBitPlanesLog 5 87 #define MaxQuality MaxBitPlanes 163 #ifdef PGF_USE_BIG_ENDIAN 169 #endif // PGF_USE_BIG_ENDIAN 218 #ifdef __PGF32SUPPORT__ 229 #define MagicVersionSize sizeof(PGFMagicVersion) 230 #define PreHeaderSize sizeof(PGFPreHeader) 231 #define HeaderSize sizeof(PGFHeader) 232 #define ColorTableSize ColorTableLen*sizeof(RGBQUAD) 233 #define DataTSize sizeof(DataT) 235 #endif //PGF_PGFTYPES_H
UINT8 version
PGF version.
void(* RefreshCB)(void *p)
PGF identification and version.
#define RLblockSizeLen
block size length (< 16): ld(BufferSize) < RLblockSizeLen <= 2*ld(BufferSize)
IOException()
Standard constructor.
#define ColorTableLen
size of color lookup table (clut)
char magic[3]
PGF identification = "PGF".
PGFRect(UINT32 x, UINT32 y, UINT32 width, UINT32 height)
PGFRect()
Standard constructor.
OSError error
operating system error code
bool IsInside(UINT32 x, UINT32 y) const