⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 irotationdisplay.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'iRotationDisplay.pas' rev: 6.00

#ifndef iRotationDisplayHPP
#define iRotationDisplayHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <iComponent.hpp>	// Pascal unit
#include <iVCLComponent.hpp>	// Pascal unit
#include <iCustomComponent.hpp>	// Pascal unit
#include <iMath.hpp>	// Pascal unit
#include <iGPFunctions.hpp>	// Pascal unit
#include <iTypes.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <Clipbrd.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <TypInfo.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Irotationdisplay
{
//-- type declarations -------------------------------------------------------
typedef tagRGBTRIPLE TRGBTripleArray[32768];

typedef tagRGBTRIPLE *pRGBTripleArray;

class DELPHICLASS TiRotationDisplay;
class PASCALIMPLEMENTATION TiRotationDisplay : public Icustomcomponent::TiCustomComponent 
{
	typedef Icustomcomponent::TiCustomComponent inherited;
	
private:
	Graphics::TBitmap* FPicture;
	Graphics::TBitmap* FRotationBitmap;
	double FRotationAngle;
	bool FAutoSize;
	Classes::TNotifyEvent FOnAutoSize;
	bool FStretched;
	void __fastcall SetPicture(const Graphics::TBitmap* Value);
	void __fastcall SetRotationAngle(const double Value);
	void __fastcall SetStretched(const bool Value);
	Graphics::TBitmap* __fastcall RotateBitmap(const Graphics::TBitmap* Bitmap, const double Angle);
	void __fastcall iSetAutoSize(const bool Value);
	void __fastcall DoAutoSize(void);
	void __fastcall SetUpRotationBitmap(void);
	void __fastcall ClearRotationBitmap(void);
	int __fastcall GetMaxSize(void);
	
protected:
	virtual void __fastcall iPaintTo(Graphics::TCanvas* Canvas);
	void __fastcall BitmapChange(System::TObject* Sender);
	virtual void __fastcall SetBackGroundColor(const Graphics::TColor Value);
	
public:
	__fastcall virtual TiRotationDisplay(Classes::TComponent* AOwner);
	__fastcall virtual ~TiRotationDisplay(void);
	virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
	__property Classes::TNotifyEvent OnAutoSize = {read=FOnAutoSize, write=FOnAutoSize};
	
__published:
	__property Graphics::TBitmap* Picture = {read=FPicture, write=SetPicture};
	__property double RotationAngle = {read=FRotationAngle, write=SetRotationAngle};
	__property bool AutoSize = {read=FAutoSize, write=iSetAutoSize, default=0};
	__property bool Stretched = {read=FStretched, write=SetStretched, default=0};
	__property BorderStyle  = {default=0};
	__property BackGroundColor  = {default=-2147483633};
	__property CachedDrawing  = {default=1};
	__property Width  = {default=100};
	__property Height  = {default=100};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TiRotationDisplay(HWND ParentWindow) : Icustomcomponent::TiCustomComponent(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
static const Word MaxPixelCount = 0x8000;

}	/* namespace Irotationdisplay */
using namespace Irotationdisplay;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -