// CodeGear C++Builder
// Copyright (c) 1995, 2015 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'pcxfilter.pas' rev: 30.00 (Windows)

#ifndef PcxfilterHPP
#define PcxfilterHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Vcl.Graphics.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <imageenproc.hpp>
#include <imageenio.hpp>
#include <hyiedefs.hpp>
#include <hyieutils.hpp>

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

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


//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE void __fastcall ReadPcxStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, int fsDim, Hyiedefs::TProgressRec &Progress, bool Preview);
extern DELPHI_PACKAGE void __fastcall WritePcxStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE bool __fastcall IEDCXTryStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE int __fastcall IEDCXCountStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall IEDCXReadStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* Bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview);
extern DELPHI_PACKAGE void __fastcall IEDCXInsertStream(System::Classes::TStream* fs, Hyieutils::TIEBitmap* bitmap, Imageenio::TIOParamsVals* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IEDCXDeleteStream(System::Classes::TStream* fs, int idx);
}	/* namespace Pcxfilter */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_PCXFILTER)
using namespace Pcxfilter;
#endif
#pragma pack(pop)
#pragma option pop

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