Files
common/CEF4Delphi/win32/hpps/uCEFBitmapBitBuffer.hpp
T
2026-06-12 23:18:12 +08:00

75 lines
2.5 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFBitmapBitBuffer.pas' rev: 37.00 (Windows)
#ifndef uCEFBitmapBitBufferHPP
#define uCEFBitmapBitBufferHPP
#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 <System.Classes.hpp>
#include <System.SysUtils.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefbitmapbitbuffer
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCEFBitmapBitBuffer;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCEFBitmapBitBuffer : public System::TObject
{
typedef System::TObject inherited;
protected:
void *FBuffer;
int FImageWidth;
int FImageHeight;
int FBufferWidth;
int FBufferHeight;
int __fastcall GetBufferScanlineSize();
int __fastcall GetScanlineSize();
int __fastcall GetBufferLength();
bool __fastcall GetEmpty();
System::PByte __fastcall GetScanline(int y);
void __fastcall CreateBuffer();
void __fastcall DestroyBuffer();
public:
__fastcall TCEFBitmapBitBuffer(int aWidth, int aHeight);
__fastcall virtual ~TCEFBitmapBitBuffer();
void __fastcall UpdateSize(int aWidth, int aHeight);
__property int Width = {read=FImageWidth, nodefault};
__property int Height = {read=FImageHeight, nodefault};
__property int BufferLength = {read=GetBufferLength, nodefault};
__property bool Empty = {read=GetEmpty, nodefault};
__property System::PByte Scanline[int y] = {read=GetScanline};
__property int ScanlineSize = {read=GetScanlineSize, nodefault};
__property int BufferScanlineSize = {read=GetBufferScanlineSize, nodefault};
__property void * BufferBits = {read=FBuffer};
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefbitmapbitbuffer */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBITMAPBITBUFFER)
using namespace Ucefbitmapbitbuffer;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFBitmapBitBufferHPP