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

📄 igpfunctions.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) 'iGPFunctions.pas' rev: 6.00

#ifndef iGPFunctionsHPP
#define iGPFunctionsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Printers.hpp>	// Pascal unit
#include <iMath.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 Igpfunctions
{
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE Graphics::TColor __fastcall DimColor(Graphics::TColor Value, int Divisor);
extern PACKAGE void __fastcall GetAutoScaleValuesAdjustable(double DesiredMin, double DesiredMax, int DesiredTicks, int MaxTicks, double &NewMin, double &NewMax, int &NewTicks);
extern PACKAGE void __fastcall GetAutoScaleValuesFixed(double DesiredMin, double DesiredMax, int DesiredTicks, int MaxTicks, double &NewMin, double &NewMax, int &NewTicks);
extern PACKAGE void __fastcall LineBevel(Graphics::TCanvas* Canvas, int X1, int Y1, int X2, int Y2, Itypes::TiBevelStyle Style);
extern PACKAGE void __fastcall Line(Graphics::TCanvas* Canvas, int Left, int Top, int Right, int Bottom);
extern PACKAGE int __fastcall GetDecimalPoints(double Max, double Min, int Precision, Itypes::TiPrecisionStyle PrecisionStyle);
extern PACKAGE tagLOGFONTA __fastcall FillFontInfo(Graphics::TFont* Font, int Rotation);
extern PACKAGE Types::TPoint __fastcall GetXYRadPoint(double AngleDegrees, double Radius, const Types::TPoint &Offset);
extern PACKAGE Itypes::TPointDouble __fastcall GetXYRadPointDouble(double AngleDegrees, double Radius, const Itypes::TPointDouble &Offset);
extern PACKAGE AnsiString __fastcall iFormatPrecisionStyle(double Value, double Span, int Precision, Itypes::TiPrecisionStyle PrecisionStyle);
extern PACKAGE Types::TPoint __fastcall PointOrientation(int X, int Y, Itypes::TiOrientation Orientation);
extern PACKAGE Types::TRect __fastcall RectOrientation(int Left, int Top, int Right, int Bottom, Itypes::TiOrientation Orientation);
extern PACKAGE int __fastcall iDrawText(Graphics::TCanvas* Canvas, AnsiString AText, Types::TRect &ARect, Itypes::TiTextFlags AFlags);
extern PACKAGE Types::TRect __fastcall iDrawRotatedText(Graphics::TCanvas* Canvas, AnsiString AText, const Types::TRect &ARect, Itypes::TiRotationAngle Angle);
extern PACKAGE Types::TPoint __fastcall iPointReverse(bool Reverse, int X, int Y);
extern PACKAGE bool __fastcall GetPropertyValueString(AnsiString PropName, AnsiString &PropString, Classes::TStringList* AList);
extern PACKAGE void __fastcall SeparateStrings(AnsiString AText, AnsiString Seperator, AnsiString &LeftString, AnsiString &RightString);
extern PACKAGE System::TObject* __fastcall GetObjectProperty(Classes::TPersistent* Instance, const AnsiString PropName);
extern PACKAGE void __fastcall SaveObjectToStringList(Classes::TPersistent* Instance, AnsiString Path, Classes::TStringList* DataList, Classes::TStringList* IgnoreList);
extern PACKAGE void __fastcall LoadObjectFromStringList(Classes::TPersistent* Instance, AnsiString Path, Classes::TStringList* DataList);
extern PACKAGE Controls::TWinControl* __fastcall GetCustomFormOwner(Classes::TComponent* AComponent);
extern PACKAGE void __fastcall SetParentsToTopMost(Controls::TWinControl* AWinControl);
extern PACKAGE void __fastcall SetWindowToControlParent(unsigned Handle, bool Value);
extern PACKAGE void __fastcall ArcSegment(Graphics::TCanvas* Canvas, double StartDegrees, double EndDegress, int Radius1, int Radius2, const Types::TPoint &Offset, Graphics::TColor AColor);
extern PACKAGE int __fastcall TruncHalf(double Value);
extern PACKAGE Types::TPoint __fastcall PointDoubleToPoint(const Itypes::TPointDouble &PointDouble);
extern PACKAGE void __fastcall DrawRaisedBorder(Graphics::TCanvas* Canvas, const Types::TRect &ARect);
extern PACKAGE void __fastcall DrawSunkenBorder(Graphics::TCanvas* Canvas, const Types::TRect &ARect);
extern PACKAGE int __fastcall DateToMilliSeconds(System::TDateTime Value);
extern PACKAGE int __fastcall DateToSeconds(System::TDateTime Value);
extern PACKAGE int __fastcall DateToMinutes(System::TDateTime Value);
extern PACKAGE int __fastcall DateToHours(System::TDateTime Value);
extern PACKAGE void __fastcall iDrawFocusRect(Graphics::TCanvas* Canvas, const Types::TRect &ARect, Graphics::TColor BackgroundColor);
extern PACKAGE void __fastcall iDrawFocusRect2(Graphics::TCanvas* Canvas, const Types::TRect &ARect);
extern PACKAGE void __fastcall iDrawEdge(Graphics::TCanvas* Canvas, const Types::TRect &ARect, Itypes::TiDrawEdgeStyle Style);
extern PACKAGE void __fastcall WriterWriteProperties(Classes::TWriter* Writer, Classes::TPersistent* Instance);
extern PACKAGE void __fastcall iSetDesigning(Classes::TComponent* AComponent);
extern PACKAGE Byte __fastcall iGetRValue(unsigned rgb);
extern PACKAGE Byte __fastcall iGetGValue(unsigned rgb);
extern PACKAGE Byte __fastcall iGetBValue(unsigned rgb);
extern PACKAGE Types::TRect __fastcall GetClickRect(const Types::TPoint * Data, const int Data_Size, int MinSizePixels);
extern PACKAGE bool __fastcall GetShiftDown(void);
extern PACKAGE bool __fastcall GetCtrlDown(void);
extern PACKAGE bool __fastcall GetAltDown(void);
extern PACKAGE void __fastcall iDecodeDate(const System::TDateTime DateTime, int &Year, int &Month, int &Day);
extern PACKAGE void __fastcall SwapIntegers(int &Integer1, int &Integer2);
extern PACKAGE Types::TRect __fastcall iRect(int Left, int Top, int Right, int Bottom);
extern PACKAGE void __fastcall iRectangle(Graphics::TCanvas* Canvas, const Types::TRect &ARect);
extern PACKAGE Types::TRect __fastcall iXYReverseRect(bool XYReverse, int XAxis1, int YAxis1, int XAxis2, int YAxis2);
extern PACKAGE Types::TPoint __fastcall iXYReversePoint(bool XYReverse, int XAxisValue, int YAxisValue);
extern PACKAGE void __fastcall DrawGradient(Graphics::TCanvas* ACanvas, Graphics::TColor BackColor, Graphics::TColor ShawdowColor, const Types::TRect &ARect, bool ReverseColors);
extern PACKAGE void __fastcall DrawGradientCircle(Graphics::TCanvas* Canvas, const Types::TPoint &CenterPoint, int Radius, bool ReverseColors);
extern PACKAGE int __fastcall iTextWidth(Graphics::TCanvas* Canvas, AnsiString AText);
extern PACKAGE int __fastcall iTextHeight(Graphics::TCanvas* Canvas, AnsiString AText);
extern PACKAGE int __fastcall iTextHeightFixedWidth(Graphics::TCanvas* Canvas, AnsiString AText, int FixedWidth);
extern PACKAGE void __fastcall iAlignVCenterControl(Controls::TControl* RefControl, Controls::TControl* AlignControl);
extern PACKAGE void __fastcall iDrawButtonArrowUp(Graphics::TCanvas* Canvas, const Types::TRect &ARect, bool Down);
extern PACKAGE void __fastcall iDrawButtonArrowDown(Graphics::TCanvas* Canvas, const Types::TRect &ARect, bool Down);
extern PACKAGE void __fastcall AssignObject(Classes::TPersistent* Source, Classes::TPersistent* Destination);
extern PACKAGE Itypes::TPointDouble __fastcall PointDouble(double X, double Y);
extern PACKAGE void __fastcall DrawGradientDirection(Graphics::TCanvas* Canvas, const Types::TRect &ARect, Itypes::TiFillDirection Direction, Graphics::TColor ColorStart, Graphics::TColor ColorStop);
extern PACKAGE unsigned __fastcall iStrToInt(AnsiString Value);
extern PACKAGE AnsiString __fastcall iIntToStr(unsigned Value, Itypes::TiIntegerFormatStyle Format, int MaxLength, bool LeadingZeros);
extern PACKAGE void __fastcall iDrawTriangle(Graphics::TCanvas* Canvas, const Types::TRect &ARect, Itypes::TiDirection Direction);
extern PACKAGE void __fastcall iSetFocus(Controls::TWinControl* WinControl);
extern PACKAGE void __fastcall SetActivePageIndex(Comctrls::TPageControl* PageControl, int Index);
extern PACKAGE int __fastcall GetActivePageIndex(Comctrls::TPageControl* PageControl);
extern PACKAGE Types::TPoint __fastcall GetRectCenterPoint(const Types::TRect &ARect);
extern PACKAGE double __fastcall GetSign(double Value);
extern PACKAGE Graphics::TColor __fastcall ChangeColorIntensity(Graphics::TColor Value, int RGBOffset);
extern PACKAGE double __fastcall MMToInches(double MMValue);
extern PACKAGE void __fastcall GetPaperTypePaperSize(short PaperType, double &PaperWidthInches, double &PaperHeightInches);
extern PACKAGE void __fastcall GetPrinterPaperSize(double &PaperWidthInches, double &PaperHeightInches);

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

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

⌨️ 快捷键说明

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