Files
2026-06-12 23:18:12 +08:00

71 lines
2.4 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFBrowserBitmap.pas' rev: 37.00 (Windows)
#ifndef uCEFBrowserBitmapHPP
#define uCEFBrowserBitmapHPP
#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 <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <Vcl.Graphics.hpp>
#include <System.Types.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefbrowserbitmap
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCEFBrowserBitmap;
//-- type declarations -------------------------------------------------------
class PASCALIMPLEMENTATION TCEFBrowserBitmap : public Vcl::Graphics::TBitmap
{
typedef Vcl::Graphics::TBitmap inherited;
protected:
int FScanlineSize;
float FDeviceScaleFactor;
Winapi::Windows::THandle FSyncObj;
void * __fastcall GetBufferBits();
void __fastcall CreateSyncObj();
void __fastcall DestroySyncObj();
public:
__fastcall virtual TCEFBrowserBitmap()/* overload */;
__fastcall virtual ~TCEFBrowserBitmap();
bool __fastcall BeginDraw();
void __fastcall EndDraw();
bool __fastcall UpdateDimensions(int aWidth, int aHeight);
void __fastcall BufferDraw(Vcl::Graphics::TBitmap* const aBitmap, const Winapi::Windows::TRect &aSrcRect, const Winapi::Windows::TRect &aDstRect);
__property int ScanlineSize = {read=FScanlineSize, nodefault};
__property void * BufferBits = {read=GetBufferBits};
__property float DeviceScaleFactor = {read=FDeviceScaleFactor, write=FDeviceScaleFactor};
public:
/* TBitmap.Create */ inline __fastcall TCEFBrowserBitmap(int AWidth, int AHeight)/* overload */ : Vcl::Graphics::TBitmap(AWidth, AHeight) { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefbrowserbitmap */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBROWSERBITMAP)
using namespace Ucefbrowserbitmap;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFBrowserBitmapHPP