// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'PCXFilter.pas' rev: 4.00

#ifndef PCXFilterHPP
#define PCXFilterHPP

#pragma delphiheader begin
#pragma option push -w-
#include <hyiedefs.hpp>	// Pascal unit
#include <ImageEnIO.hpp>	// Pascal unit
#include <ImageEnProc.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Pcxfilter
{
//-- type declarations -------------------------------------------------------
#pragma pack(push, 1)
struct TPcxHeader
{
	Byte Manufacturer;
	Byte Version;
	Byte Encoding;
	Byte Bits_Per_Pixel;
	Word Xmin;
	Word Ymin;
	Word Xmax;
	Word Ymax;
	Word Hres;
	Word Vres;
	Hyiedefs::TRGB Palette[16];
	Byte Reserved;
	Byte Colour_Planes;
	Word Bytes_Per_Line;
	Word Palette_Type;
	Byte Filler[58];
} ;
#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall ReadPcx(AnsiString nf, Graphics::TBitmap* Bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall ReadPcxStream(Classes::TStream* fs, Graphics::TBitmap* Bitmap, Imageenio::TIOParamsVals* 
	&IOParams, int fsDim, Hyiedefs::TProgressRec &Progress, bool Preview);
extern PACKAGE void __fastcall WritePcx(AnsiString nf, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall WritePcxStream(Classes::TStream* fs, Graphics::TBitmap* bitmap, Imageenio::TIOParamsVals* 
	&IOParams, Hyiedefs::TProgressRec &Progress);

}	/* namespace Pcxfilter */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Pcxfilter;
#endif
#pragma option pop	// -w-

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// PCXFilter
