BSOne.SFC/EM.Lib/ImageEn_SRC/Source/Delphi10.1Berlin/BMPFilt.hpp

81 lines
6.4 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'bmpfilt.pas' rev: 37.00 (Windows)
#ifndef bmpfiltHPP
#define bmpfiltHPP
#pragma delphiheader begin
#pragma option push
#if defined(__BORLANDC__) && !defined(__clang__)
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#endif
#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 <iexBitmaps.hpp>
//-- user supplied -----------------------------------------------------------
namespace Bmpfilt
{
//-- forward type declarations -----------------------------------------------
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
static _DELPHI_CONST int IEBI_RGB = int(0x32424752);
static _DELPHI_CONST int IEBI_RLE8 = int(0x38454c52);
static _DELPHI_CONST int IEBI_RLE = int(0x34454c52);
static _DELPHI_CONST int IEBI_RAW = int(0x32776173);
static _DELPHI_CONST int IEBI_RGBA = int(0x41424752);
static _DELPHI_CONST int IEBI_RGBT = int(0x54424752);
extern DELPHI_PACKAGE void __fastcall BMPReadStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, int BlockDim, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview, bool MissingFileHead, Iexbitmaps::TIEMask* &AlphaChannel, bool IgnoreAlpha);
extern DELPHI_PACKAGE void __fastcall BMPWriteStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress, bool Save32BitAsAlpha);
extern DELPHI_PACKAGE bool __fastcall ICOTryStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE int __fastcall _EnumICOImStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall ICOReadStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, bool Preview, Hyiedefs::TProgressRec &Progress, Iexbitmaps::TIEMask* &AlphaChannel, bool IgnoreAlpha, bool bExceptionOnInvalidSize = false);
extern DELPHI_PACKAGE void __fastcall ICOWriteStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress, System::Types::TSize *sizes, const System::NativeInt sizes_High, int *BitCounts, const System::NativeInt BitCounts_High);
extern DELPHI_PACKAGE void __fastcall ICOWriteStream2(System::Classes::TStream* fs, System::TObject* *ielist, const System::NativeInt ielist_High, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE bool __fastcall IESaveIconToStream(System::Classes::TStream* Stream, HICON icon);
extern DELPHI_PACKAGE void __fastcall IEConvertIconToBitmap(HICON icon, Iexbitmaps::TIEBitmap* DestBitmap, bool bExceptionOnInvalidSize = false);
extern DELPHI_PACKAGE HICON __fastcall IEGetFileIcon(const System::UnicodeString filename)/* overload */;
extern DELPHI_PACKAGE void __fastcall IEGetFileIcon(const System::UnicodeString filename, Iexbitmaps::TIEBitmap* DestBitmap)/* overload */;
extern DELPHI_PACKAGE bool __fastcall CURTryStream(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall CURReadStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, bool Preview, Hyiedefs::TProgressRec &Progress, Iexbitmaps::TIEMask* &AlphaChannel, bool IgnoreAlpha);
extern DELPHI_PACKAGE bool __fastcall TryPXM(System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall PXMReadStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview);
extern DELPHI_PACKAGE void __fastcall PXMWriteStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall WBMPReadStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress, bool Preview);
extern DELPHI_PACKAGE void __fastcall WBMPWriteStream(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void * __fastcall IEPostScriptCreate(System::Classes::TStream* fs, Iexbitmaps::TIOParams* &IOParams);
extern DELPHI_PACKAGE void __fastcall IEPostScriptClose(void * handle, System::Classes::TStream* fs);
extern DELPHI_PACKAGE void __fastcall IEPostScriptSave(void * handle, System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IEPostScriptSaveOneStep(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void * __fastcall IEPDFCreate(Iexbitmaps::TIOParams* &IOParams);
extern DELPHI_PACKAGE void __fastcall IEPDFSave(void * handle, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IEPDFClose(void * handle, System::Classes::TStream* fs, Iexbitmaps::TIOParams* &IOParams);
extern DELPHI_PACKAGE void __fastcall IEPDFSaveOneStep(System::Classes::TStream* fs, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE bool __fastcall IEEMFTryStream(System::Classes::TStream* Stream);
extern DELPHI_PACKAGE bool __fastcall IEWMFTryStream(System::Classes::TStream* Stream);
extern DELPHI_PACKAGE void __fastcall IERealRAWReadStream(System::Classes::TStream* Stream, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
extern DELPHI_PACKAGE void __fastcall IERealRAWWriteStream(System::Classes::TStream* Stream, Iexbitmaps::TIEBitmap* Bitmap, Iexbitmaps::TIOParams* &IOParams, Hyiedefs::TProgressRec &Progress);
} /* namespace Bmpfilt */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_BMPFILT)
using namespace Bmpfilt;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // bmpfiltHPP