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

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

#ifndef QiGPFunctionsHPP
#define QiGPFunctionsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QPrinters.hpp>	// Pascal unit
#include <QiMath.hpp>	// Pascal unit
#include <QiTypes.hpp>	// Pascal unit
#include <QExtCtrls.hpp>	// Pascal unit
#include <QStdCtrls.hpp>	// Pascal unit
#include <QComCtrls.hpp>	// Pascal unit
#include <QControls.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <QTypes.hpp>	// Pascal unit
#include <QClipbrd.hpp>	// Pascal unit
#include <QDialogs.hpp>	// Pascal unit
#include <QForms.hpp>	// Pascal unit
#include <QGraphics.hpp>	// Pascal unit
#include <Qt.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 Qigpfunctions
{
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE Qgraphics::TColor __fastcall DimColor(Qgraphics::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(Qgraphics::TCanvas* Canvas, int X1, int Y1, int X2, int Y2, Qitypes::TiBevelStyle Style);
extern PACKAGE void __fastcall Line(Qgraphics::TCanvas* Canvas, int Left, int Top, int Right, int Bottom);
extern PACKAGE int __fastcall GetDecimalPoints(double Max, double Min, int Precision, Qitypes::TiPrecisionStyle PrecisionStyle);
extern PACKAGE Types::TPoint __fastcall GetXYRadPoint(double AngleDegrees, double Radius, const Types::TPoint &Offset);
extern PACKAGE Qitypes::TPointDouble __fastcall GetXYRadPointDouble(double AngleDegrees, double Radius, const Qitypes::TPointDouble &Offset);
extern PACKAGE AnsiString __fastcall iFormatPrecisionStyle(double Value, double Span, int Precision, Qitypes::TiPrecisionStyle PrecisionStyle);
extern PACKAGE Types::TPoint __fastcall PointOrientation(int X, int Y, Qitypes::TiOrientation Orientation);
extern PACKAGE Types::TRect __fastcall RectOrientation(int Left, int Top, int Right, int Bottom, Qitypes::TiOrientation Orientation);
extern PACKAGE int __fastcall iDrawText(Qgraphics::TCanvas* Canvas, AnsiString AText, Types::TRect &ARect, Qitypes::TiTextFlags AFlags);
extern PACKAGE Types::TRect __fastcall iDrawRotatedText(Qgraphics::TCanvas* Canvas, AnsiString AText, const Types::TRect &ARect, Qitypes::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 Qcontrols::TWidgetControl* __fastcall GetCustomFormOwner(Classes::TComponent* AComponent);
extern PACKAGE void __fastcall SetParentsToTopMost(Qcontrols::TWidgetControl* AWinControl);
extern PACKAGE void __fastcall ArcSegment(Qgraphics::TCanvas* Canvas, double StartDegrees, double EndDegress, int Radius1, int Radius2, const Types::TPoint &Offset, Qgraphics::TColor AColor);
extern PACKAGE int __fastcall TruncHalf(double Value);
extern PACKAGE Types::TPoint __fastcall PointDoubleToPoint(const Qitypes::TPointDouble &PointDouble);
extern PACKAGE void __fastcall DrawRaisedBorder(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect);
extern PACKAGE void __fastcall DrawSunkenBorder(Qgraphics::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(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect, Qgraphics::TColor BackgroundColor);
extern PACKAGE void __fastcall iDrawFocusRect2(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect);
extern PACKAGE void __fastcall iDrawEdge(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect, Qitypes::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(Qgraphics::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(Qgraphics::TCanvas* ACanvas, Qgraphics::TColor BackColor, Qgraphics::TColor ShawdowColor, const Types::TRect &ARect, bool ReverseColors);
extern PACKAGE void __fastcall DrawGradientCircle(Qgraphics::TCanvas* Canvas, const Types::TPoint &CenterPoint, int Radius, bool ReverseColors);
extern PACKAGE int __fastcall iTextWidth(Qgraphics::TCanvas* Canvas, AnsiString AText);
extern PACKAGE int __fastcall iTextHeight(Qgraphics::TCanvas* Canvas, AnsiString AText);
extern PACKAGE int __fastcall iTextHeightFixedWidth(Qgraphics::TCanvas* Canvas, AnsiString AText, int FixedWidth);
extern PACKAGE void __fastcall iAlignVCenterControl(Qcontrols::TControl* RefControl, Qcontrols::TControl* AlignControl);
extern PACKAGE void __fastcall iDrawButtonArrowUp(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect, bool Down);
extern PACKAGE void __fastcall iDrawButtonArrowDown(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect, bool Down);
extern PACKAGE void __fastcall AssignObject(Classes::TPersistent* Source, Classes::TPersistent* Destination);
extern PACKAGE Qitypes::TPointDouble __fastcall PointDouble(double X, double Y);
extern PACKAGE void __fastcall DrawGradientDirection(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect, Qitypes::TiFillDirection Direction, Qgraphics::TColor ColorStart, Qgraphics::TColor ColorStop);
extern PACKAGE unsigned __fastcall iStrToInt(AnsiString Value);
extern PACKAGE AnsiString __fastcall iIntToStr(unsigned Value, Qitypes::TiIntegerFormatStyle Format, int MaxLength, bool LeadingZeros);
extern PACKAGE void __fastcall iDrawTriangle(Qgraphics::TCanvas* Canvas, const Types::TRect &ARect, Qitypes::TiDirection Direction);
extern PACKAGE void __fastcall iSetFocus(Qcontrols::TWidgetControl* WinControl);
extern PACKAGE void __fastcall SetActivePageIndex(Qcomctrls::TPageControl* PageControl, int Index);
extern PACKAGE int __fastcall GetActivePageIndex(Qcomctrls::TPageControl* PageControl);
extern PACKAGE Types::TPoint __fastcall GetRectCenterPoint(const Types::TRect &ARect);
extern PACKAGE double __fastcall GetSign(double Value);
extern PACKAGE Qgraphics::TColor __fastcall ChangeColorIntensity(Qgraphics::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 Qigpfunctions */
using namespace Qigpfunctions;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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

⌨️ 快捷键说明

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