home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
zkuste
/
delphi
/
kompon
/
d123456
/
CHEMPLOT.ZIP
/
TPlot
/
Plot.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
2001-07-31
|
26KB
|
608 lines
// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Plot.pas' rev: 3.00
#ifndef PlotHPP
#define PlotHPP
#include <Titles.hpp>
#include <Seredit.hpp>
#include <Datalist.hpp>
#include <Propedit.hpp>
#include <Plotzoom.hpp>
#include <Plotdefs.hpp>
#include <Parser.hpp>
#include <Optnsdlg.hpp>
#include <Misc.hpp>
#include <Data.hpp>
#include <Axisedit.hpp>
#include <Axis.hpp>
#include <Aboutdlg.hpp>
#include <StdCtrls.hpp>
#include <Printers.hpp>
#include <Menus.hpp>
#include <Graphics.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
#include <Controls.hpp>
#include <ComCtrls.hpp>
#include <Clipbrd.hpp>
#include <Buttons.hpp>
#include <Windows.hpp>
#include <NoMath.hpp>
#include <TypInfo.hpp>
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <SysInit.hpp>
#include <System.hpp>
//-- user supplied -----------------------------------------------------------
namespace Plot
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TOnPaintEvent)(System::TObject* Sender, Graphics::TCanvas* ACanvas
);
typedef void __fastcall (__closure *TOnFileEvent)(System::TObject* Sender, System::AnsiString TheFile
);
typedef void __fastcall (__closure *TOnHeaderEvent)(System::TObject* Sender, Classes::TMemoryStream*
TheStream);
typedef void __fastcall (__closure *TOnRequestHeaderEvent)(System::TObject* Sender, Classes::TMemoryStream*
TheStream);
typedef void __fastcall (__closure *TOnRequestHTMLHeaderEvent)(System::TObject* Sender, Classes::TStringList*
Header);
typedef void __fastcall (__closure *TOnSelectionEvent)(System::TObject* Sender, const Windows::TRect
&Sel);
typedef void __fastcall (__closure *TOnDualSelectionEvent)(System::TObject* Sender, const Windows::TRect
&Sel1, const Windows::TRect &Sel2);
typedef System::AnsiString Plot__2[4];
class DELPHICLASS TCustomPlot;
class PASCALIMPLEMENTATION TCustomPlot : public Extctrls::TCustomPanel
{
typedef Extctrls::TCustomPanel inherited;
private:
System::AnsiString FAbout;
System::AnsiString FAxesProperties;
System::AnsiString FDataProperties;
System::AnsiString FProperties;
System::AnsiString FSeriesProperties;
Classes::TList* FAxisList;
Titles::TBorder* FBorder;
Misc::TPercent FBubbleSize;
Misc::TPercent FColumnGap;
TContourDetail FContourDetail;
float FContourInterval;
float FContourStart;
bool FContourWireFrame;
System::AnsiString FCreatedBy;
System::AnsiString FDescription;
System::AnsiString FDefaultExtension;
TDisplayMode FDisplayMode;
float FDisplayHistory;
bool FEditable;
System::AnsiString FFileName;
System::AnsiString OpenDriveDir;
System::AnsiString OverlayDriveDir;
System::AnsiString ImageDriveDir;
System::AnsiString PropsFileName;
int OpenFilterIndex;
int SaveFilterIndex;
int ImageFilterIndex;
TGridType FGrid;
TPenStyle FGridStyle;
Graphics::TColor FGridColor;
System::AnsiString FHelpFile;
Graphics::TFont* FHighFont;
Classes::TStringList* FInstructions;
Titles::TLegend* FLegend;
int FMenuTag;
bool FMovable;
Graphics::TPen* FMultiplePen;
Byte FMultiplicity;
int FMultiJoin1;
int FMultiJoin2;
Graphics::TBitmap* FPageButtons[4];
Byte FPieRowCount;
Menus::TMainMenu* FPlotMenu;
Comctrls::TToolBar* FPlotToolBar;
TPlotType FPlotType;
Plotdefs::TPopupOptions* FPopupOptions;
float FPolarRange;
TPrinterOrientation FPrintOrientation;
int FOutlineWidth;
Titles::TCaption* FResult;
Plotdefs::TSaveOptions FSaveOptions;
bool FAsText;
TScreenJob FScreenJob;
Titles::TTitle* FTitle;
Graphics::TColor FWallColor;
Axis::TAxis* FXAxis;
int FXYFastAt;
Axis::TAxis* FYAxis;
Axis::TAngleAxis* FZAxis;
bool FZLink;
TOnPaintEvent FOnAfterPaint;
TOnPaintEvent FOnAfterDraw;
TOnPaintEvent FOnBeforePaint;
TOnPaintEvent FOnBeforeDraw;
Classes::TNotifyEvent FOnStyleChange;
Classes::TNotifyEvent FOnDataChange;
TOnFileEvent FOnFileOpen;
TOnFileEvent FOnFileClose;
TOnHeaderEvent FOnHeader;
TOnRequestHeaderEvent FOnHeaderRequest;
TOnRequestHTMLHeaderEvent FOnHTMLHeaderRequest;
TOnSelectionEvent FOnSelection;
TOnDualSelectionEvent FOnDualSelection;
Titles::TRectangle* LeftBorder;
Titles::TRectangle* TopBorder;
Titles::TRectangle* RightBorder;
Titles::TRectangle* BottomBorder;
bool IgnoreChanges;
Classes::TList* ScreenObjectList;
int NoBasicScreenObjects;
int NoteCount;
Extctrls::TTimer* MouseTimer;
tagPOINT MouseStart;
TObjectType ClickedObjectType;
void *pClickedObject;
TObjectType SecondClickedObjectType;
void *pSecondClickedObject;
tagPOINT ClickedObjectOffset;
float Slope;
float Intercept;
Titles::TAngleRect* Selection;
Windows::TRect Sel1;
Windows::TRect Sel2;
Menus::TPopupMenu* FPlotPopUpMenu;
Menus::TPopupMenu* FDragPopUpMenu;
Menus::TPopupMenu* WhichPopUpMenu;
Menus::TMenuItem* WhichPopUpItems[2];
Stdctrls::TEdit* FFlashEdit;
int TheSeries;
Data::TSeries* pSeries;
int ThePointNumber;
int TheAxis;
Axis::TAxis* pAxis;
int ClipBoardFormatForHTML;
int FirstOverlay;
int BevelGap;
System::AnsiString FileExtensions[4];
System::AnsiString FileTypes;
int __fastcall GetClickAndDragDelay(void);
Word __fastcall GetNoSeries(void);
int __fastcall GetNoYAxes(void);
Data::TSeries* __fastcall GetSeries(int Index);
bool __fastcall GetNoteFromUser(void);
bool __fastcall GetSeriesFromUser(void);
bool __fastcall GetAxisFromUser(Word StartAxis);
int __fastcall GetFilterIndex(System::AnsiString Ext);
void __fastcall SetAxisDimensions(void);
void __fastcall SetDisplayModeHistory(float HistoryValue, Plotdefs::TDisplayMode ScalingValue);
void __fastcall SetMetafileDescription(void);
void __fastcall GetTheClickedObject(int X, int Y);
void __fastcall MouseTimeOut(System::TObject* Sender);
void __fastcall MoveTheClickedObjectTo(int X, int Y);
void __fastcall OutlineTheClickedObject(void);
void __fastcall SetResult(float Slope, float Intercept, float Rsq);
void __fastcall StretchTheClickedObjectTo(int X, int Y);
void __fastcall SwapEnds(void);
void __fastcall MoveTheClickedObjectClick(System::TObject* Sender);
void __fastcall MoveSecondClickedObjectClick(System::TObject* Sender);
void __fastcall CreateFlashEditor(void);
void __fastcall FlashEditKeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
void __fastcall FlashEditExit(System::TObject* Sender);
protected:
Datalist::TSeriesList* FSeriesList;
System::AnsiString __fastcall GetMultiJoin();
Word __fastcall GetZAngle(void);
Word __fastcall GetZLength(void);
void __fastcall SetZAngle(Word Value);
void __fastcall SetZLength(Word Value);
void __fastcall SetZLink(bool Value);
void __fastcall SetXYFastAt(int Value);
void __fastcall SetBubbleSize(Misc::TPercent Value);
void __fastcall SetColumnGap(Misc::TPercent Value);
void __fastcall SetContourDetail(Plotdefs::TContourDetail Value);
void __fastcall SetContourInterval(float Value);
void __fastcall SetContourStart(float Value);
void __fastcall SetContourWireFrame(bool Value);
void __fastcall SetGrid(Plotdefs::TGridType Value);
void __fastcall SetGridStyle(Graphics::TPenStyle Value);
void __fastcall SetGridColor(Graphics::TColor Value);
void __fastcall SetWallColor(Graphics::TColor Value);
void __fastcall SetDefaultExtension(System::AnsiString Value);
void __fastcall SetDefaults(void);
void __fastcall SetDisplayMode(Plotdefs::TDisplayMode Value);
void __fastcall SetHistory(float Value);
void __fastcall SetInstructions(Classes::TStringList* Value);
void __fastcall SetFileName(System::AnsiString Value);
void __fastcall SetNoYAxes(int Value);
void __fastcall SetPlotType(Plotdefs::TPlotType Value);
void __fastcall SetPolarRange(float Value);
void __fastcall SetPopupOptions(Plotdefs::TPopupOptions* Value);
void __fastcall SetOutlineWidth(int Value);
void __fastcall SetMultiplicity(Byte Value);
void __fastcall SetMultiplePen(Graphics::TPen* Value);
void __fastcall SetMultiJoin(System::AnsiString Value);
void __fastcall SetPieRowCount(Byte Value);
virtual void __fastcall SetNoSeries(Word Value);
void __fastcall SetClickAndDragDelay(int Value);
void __fastcall SetOnSelection(TOnSelectionEvent Value);
void __fastcall SetOnDualSelection(TOnDualSelectionEvent Value);
virtual void __fastcall CopyText(void);
virtual void __fastcall CopyHTML(Word Format);
virtual void __fastcall CopyBitmap(void);
virtual Graphics::TBitmap* __fastcall GetBitmap(void);
virtual Graphics::TMetafile* __fastcall GetDrawing(void);
virtual void __fastcall CopyDrawing(bool Enhanced);
void __fastcall CreateMenus(void);
void __fastcall CreatePageButtons(void);
void __fastcall DestroyPageButtons(void);
void __fastcall PageButtonClick(int Index);
DYNAMIC void __fastcall DoStyleChange(System::TObject* Sender);
DYNAMIC void __fastcall DoDataChange(System::TObject* Sender);
DYNAMIC void __fastcall DoFileClose(System::AnsiString AFileName);
DYNAMIC void __fastcall DoFileOpen(System::AnsiString AFileName);
DYNAMIC void __fastcall DoHeader(Classes::TMemoryStream* TheStream);
DYNAMIC void __fastcall DoHeaderRequest(Classes::TMemoryStream* TheStream);
DYNAMIC void __fastcall DoHTMLHeaderRequest(Classes::TStringList* TheHeader);
DYNAMIC void __fastcall DoSelection(const Windows::TRect &Sel1);
DYNAMIC void __fastcall DoDualSelection(const Windows::TRect &Sel1, const Windows::TRect &Sel2);
void __fastcall OpenProperties(System::AnsiString AFileName);
void __fastcall SaveTheProperties(System::AnsiString AFileName);
bool __fastcall CanPaste(void);
DYNAMIC void __fastcall DblClick(void);
DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X,
int Y);
DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
DYNAMIC void __fastcall MouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int
Y);
virtual void __fastcall ProcessClickedObject(void * pObject, Plotdefs::TObjectType TheObjectType);
void __fastcall DrawGrid(Graphics::TCanvas* ACanvas);
void __fastcall DrawWalls(Graphics::TCanvas* ACanvas);
virtual void __fastcall Paint(void);
void __fastcall DrawInstructions(void);
DYNAMIC void __fastcall Resize(void);
DYNAMIC void __fastcall ZeroScreenStuff(void);
void __fastcall DetermineMenuVisibility(void);
void __fastcall SetSeriesVisibility(bool Value);
void __fastcall SetSeriesEnabledness(Menus::TMenu* TheMenu);
__property System::AnsiString About = {read=FAbout, write=FAbout};
__property System::AnsiString AxesProperties = {read=FAxesProperties, write=FAxesProperties};
__property System::AnsiString DataProperties = {read=FDataProperties, write=FDataProperties};
__property System::AnsiString Properties = {read=FProperties, write=FProperties};
__property System::AnsiString SeriesProperties = {read=FSeriesProperties, write=FSeriesProperties};
__property Classes::TList* AxisList = {read=FAxisList};
__property Graphics::TBitmap* Bitmap = {read=GetBitmap};
__property Graphics::TMetafile* Drawing = {read=GetDrawing};
__property Menus::TPopupMenu* PlotPopUpMenu = {read=FPlotPopUpMenu};
__property Data::TSeries* Series[int Index] = {read=GetSeries/*, default*/};
__property Datalist::TSeriesList* SeriesList = {read=FSeriesList};
__property Plotdefs::TScreenJob ScreenJob = {read=FScreenJob, write=FScreenJob, nodefault};
__property Titles::TBorder* Border = {read=FBorder, write=FBorder};
__property Misc::TPercent BubbleSize = {read=FBubbleSize, write=SetBubbleSize, nodefault};
__property Misc::TPercent ColumnGap = {read=FColumnGap, write=SetColumnGap, nodefault};
__property Plotdefs::TContourDetail ContourDetail = {read=FContourDetail, write=SetContourDetail, nodefault
};
__property float ContourInterval = {read=FContourInterval, write=SetContourInterval};
__property float ContourStart = {read=FContourStart, write=SetContourStart};
__property bool ContourWireFrame = {read=FContourWireFrame, write=SetContourWireFrame, nodefault};
__property Plotdefs::TGridType Grid = {read=FGrid, write=SetGrid, nodefault};
__property Graphics::TPenStyle GridStyle = {read=FGridStyle, write=SetGridStyle, nodefault};
__property Graphics::TColor GridColor = {read=FGridColor, write=SetGridColor, default=8421504};
__property Graphics::TColor WallColor = {read=FWallColor, write=SetWallColor, nodefault};
__property System::AnsiString HelpFile = {read=FHelpFile, write=FHelpFile};
__property Classes::TStringList* Instructions = {read=FInstructions, write=SetInstructions};
__property int ClickAndDragDelay = {read=GetClickAndDragDelay, write=SetClickAndDragDelay, nodefault
};
__property System::AnsiString CreatedBy = {read=FCreatedBy, write=FCreatedBy};
__property System::AnsiString Description = {read=FDescription, write=FDescription};
__property float DisplayHistory = {read=FDisplayHistory, write=SetHistory};
__property Plotdefs::TDisplayMode DisplayMode = {read=FDisplayMode, write=SetDisplayMode, nodefault
};
__property bool Editable = {read=FEditable, write=FEditable, nodefault};
__property System::AnsiString DefaultExtension = {read=FDefaultExtension, write=SetDefaultExtension
};
__property System::AnsiString FileName = {read=FFileName, write=SetFileName};
__property Graphics::TFont* HighFont = {read=FHighFont, write=FHighFont};
__property Titles::TLegend* Legend = {read=FLegend, write=FLegend};
__property Graphics::TPen* MultiplePen = {read=FMultiplePen, write=SetMultiplePen};
__property System::AnsiString MultiJoin = {read=GetMultiJoin, write=SetMultiJoin};
__property Plotdefs::TPlotType PlotType = {read=FPlotType, write=SetPlotType, nodefault};
__property float PolarRange = {read=FPolarRange, write=SetPolarRange};
__property Plotdefs::TPopupOptions* PopupOptions = {read=FPopupOptions, write=SetPopupOptions};
__property bool Movable = {read=FMovable, write=FMovable, nodefault};
__property Byte Multiplicity = {read=FMultiplicity, write=SetMultiplicity, nodefault};
__property Byte PieRowCount = {read=FPieRowCount, write=SetPieRowCount, nodefault};
__property Word NoSeries = {read=GetNoSeries, write=SetNoSeries, nodefault};
__property int NoYAxes = {read=GetNoYAxes, write=SetNoYAxes, nodefault};
__property Printers::TPrinterOrientation PrintOrientation = {read=FPrintOrientation, write=FPrintOrientation
, nodefault};
__property int OutlineWidth = {read=FOutlineWidth, write=SetOutlineWidth, nodefault};
__property Plotdefs::TSaveOptions SaveOptions = {read=FSaveOptions, write=FSaveOptions, nodefault};
__property Titles::TTitle* Title = {read=FTitle, write=FTitle};
__property Axis::TAxis* XAxis = {read=FXAxis, write=FXAxis};
__property Axis::TAxis* YAxis = {read=FYAxis, write=FYAxis};
__property Axis::TAngleAxis* ZAxis = {read=FZAxis, write=FZAxis};
__property Word ZAngle = {read=GetZAngle, write=SetZAngle, nodefault};
__property Word ZLength = {read=GetZLength, write=SetZLength, nodefault};
__property bool ZLink = {read=FZLink, write=SetZLink, nodefault};
__property int XYFastAt = {read=FXYFastAt, write=SetXYFastAt, default=10000};
__property TOnPaintEvent OnAfterPaint = {read=FOnAfterPaint, write=FOnAfterPaint};
__property TOnPaintEvent OnAfterDraw = {read=FOnAfterDraw, write=FOnAfterDraw};
__property TOnPaintEvent OnBeforePaint = {read=FOnBeforePaint, write=FOnBeforePaint};
__property TOnPaintEvent OnBeforeDraw = {read=FOnBeforeDraw, write=FOnBeforeDraw};
__property Classes::TNotifyEvent OnStyleChange = {read=FOnStyleChange, write=FOnStyleChange};
__property Classes::TNotifyEvent OnDataChange = {read=FOnDataChange, write=FOnDataChange};
__property TOnFileEvent OnFileOpen = {read=FOnFileOpen, write=FOnFileOpen};
__property TOnFileEvent OnFileClose = {read=FOnFileClose, write=FOnFileClose};
__property TOnHeaderEvent OnHeader = {read=FOnHeader, write=FOnHeader};
__property TOnRequestHeaderEvent OnHeaderRequest = {read=FOnHeaderRequest, write=FOnHeaderRequest};
__property TOnRequestHTMLHeaderEvent OnHTMLHeaderRequest = {read=FOnHTMLHeaderRequest, write=FOnHTMLHeaderRequest
};
__property TOnSelectionEvent OnSelection = {read=FOnSelection, write=SetOnSelection};
__property TOnDualSelectionEvent OnDualSelection = {read=FOnDualSelection, write=SetOnDualSelection
};
public:
__fastcall virtual TCustomPlot(Classes::TComponent* AOwner);
__fastcall virtual ~TCustomPlot(void);
virtual void __fastcall Clear(bool Cancellable);
virtual void __fastcall Draw(Graphics::TCanvas* ACanvas);
System::AnsiString __fastcall GetFileExtension();
System::AnsiString __fastcall GetFileDriveDir();
System::AnsiString __fastcall GetFileRoot();
System::AnsiString __fastcall GetPlotTypeAsString();
void __fastcall ShowAbout(void);
void __fastcall ShowAxes(void);
void __fastcall ShowData(void);
void __fastcall ShowProperties(void);
void __fastcall ShowSeries(void);
virtual int __fastcall AddSeries(int XSeriesIndex);
virtual int __fastcall AddExternalSeries(Misc::pSingleArray XPointer, Misc::pSingleArray YPointer,
int NumberOfPoints);
virtual int __fastcall AddInternalSeries(Misc::pSingleArray XPointer, Misc::pSingleArray YPointer,
int NumberOfPoints);
virtual int __fastcall CloneSeries(int TheSeries);
virtual void __fastcall DeleteSeries(int Index);
void __fastcall DetermineMenuEnabledness(Menus::TMenu* TheMenu);
virtual void __fastcall AddData(int NoPoints, Misc::pXYArray XYArray);
void __fastcall Trace(void);
void __fastcall CopyClick(System::TObject* Sender);
void __fastcall HideClick(System::TObject* Sender);
void __fastcall PrintClick(System::TObject* Sender);
void __fastcall ShowAllClick(System::TObject* Sender);
void __fastcall PositionClick(System::TObject* Sender);
void __fastcall NearestPointClick(System::TObject* Sender);
void __fastcall DeleteSeriesClick(System::TObject* Sender);
void __fastcall CopySeriesClick(System::TObject* Sender);
void __fastcall NewSeriesClick(System::TObject* Sender);
void __fastcall CloneSeriesClick(System::TObject* Sender);
void __fastcall ModeClick(System::TObject* Sender);
void __fastcall PasteClick(System::TObject* Sender);
void __fastcall LineBestFitClick(System::TObject* Sender);
void __fastcall TwoRegionLineBestFitClick(System::TObject* Sender);
void __fastcall SmoothSeriesClick(System::TObject* Sender);
void __fastcall CompressSeriesClick(System::TObject* Sender);
void __fastcall CompressAllSeriesClick(System::TObject* Sender);
void __fastcall ContractSeriesClick(System::TObject* Sender);
void __fastcall ContractAllSeriesClick(System::TObject* Sender);
void __fastcall LegendClick(System::TObject* Sender);
void __fastcall EditAxisClick(System::TObject* Sender);
void __fastcall ApplyAxisChange(System::TObject* Sender);
void __fastcall NewNoteClick(System::TObject* Sender);
void __fastcall MoveNotePointerClick(System::TObject* Sender);
void __fastcall DeleteNoteClick(System::TObject* Sender);
void __fastcall EditFontClick(System::TObject* Sender);
void __fastcall EditPointClick(System::TObject* Sender);
void __fastcall EditDataClick(System::TObject* Sender);
void __fastcall EditSeriesClick(System::TObject* Sender);
void __fastcall ApplySeriesChange(System::TObject* Sender);
void __fastcall ResetDisplacementClick(System::TObject* Sender);
void __fastcall EditPropertiesClick(System::TObject* Sender);
void __fastcall ApplyPropertiesChange(System::TObject* Sender);
void __fastcall NewClick(System::TObject* Sender);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
);
void __fastcall OpenClick(System::TObject* Sender);
void __fastcall OpenFile(System::AnsiString TheFile);
void __fastcall ClearOverlaysClick(System::TObject* Sender);
void __fastcall OverlayClick(System::TObject* Sender);
void __fastcall SaveImageClick(System::TObject* Sender);
void __fastcall SaveClick(System::TObject* Sender);
void __fastcall SaveAsClick(System::TObject* Sender);
virtual void __fastcall LoadFromFile(System::AnsiString AFileName);
virtual void __fastcall LoadFromStream(Classes::TMemoryStream* AStream);
void __fastcall AppendToFile(void);
virtual void __fastcall SaveToFile(System::AnsiString AFileName);
virtual void __fastcall SaveToStream(Classes::TMemoryStream* &TheStream);
virtual void __fastcall SaveAsBitmap(System::AnsiString AFileName);
virtual void __fastcall SaveAsDrawing(System::AnsiString AFileName);
void __fastcall SetAsNormalClick(System::TObject* Sender);
void __fastcall NormalViewClick(System::TObject* Sender);
void __fastcall ManualZoomClick(System::TObject* Sender);
void __fastcall ApplyZoom(System::TObject* Sender);
void __fastcall ZoomOutClick(System::TObject* Sender);
void __fastcall MakeDummyData(int NoSteps);
void __fastcall CopyHTMLClick(System::TObject* Sender);
void __fastcall DisplaceClick(System::TObject* Sender);
void __fastcall DifferentiateClick(System::TObject* Sender);
void __fastcall HandleClick(System::TObject* Sender, int TheTag);
bool __fastcall GetIndicesFromTag(int TheTag, int &i, int &j);
void __fastcall IntegrateClick(System::TObject* Sender);
void __fastcall IntegralClick(System::TObject* Sender);
void __fastcall SortClick(System::TObject* Sender);
void __fastcall SplineClick(System::TObject* Sender);
int __fastcall Spline(int ASeries);
void __fastcall ZoomInClick(System::TObject* Sender);
void __fastcall HighsClick(System::TObject* Sender);
void __fastcall MovingAverageClick(System::TObject* Sender);
void __fastcall AverageClick(System::TObject* Sender);
void __fastcall LinearizeClick(System::TObject* Sender);
void __fastcall ZeroClick(System::TObject* Sender);
void __fastcall NewYAxisClick(System::TObject* Sender);
void __fastcall DeleteAxis(int Index, bool Confirm);
void __fastcall DeleteAxisClick(System::TObject* Sender);
void __fastcall SetPlotMenu(Menus::TMainMenu* Value);
void __fastcall SetPlotToolBar(Comctrls::TToolBar* Value);
void __fastcall SetInstructionText(System::AnsiString Value);
public:
/* TWinControl.CreateParented */ __fastcall TCustomPlot(HWND ParentWindow) : Extctrls::TCustomPanel(
ParentWindow) { }
};
class DELPHICLASS TPlot;
class PASCALIMPLEMENTATION TPlot : public Plot::TCustomPlot
{
typedef Plot::TCustomPlot inherited;
public:
__property AxisList ;
__property Bitmap ;
__property Drawing ;
__property PlotPopUpMenu ;
__property Series ;
__property SeriesList ;
__property ScreenJob ;
__property ZAxis ;
__published:
__property About ;
__property AxesProperties ;
__property DataProperties ;
__property Properties ;
__property SeriesProperties ;
__property Border ;
__property ClickAndDragDelay ;
__property ColumnGap ;
__property ContourDetail ;
__property ContourInterval ;
__property ContourStart ;
__property ContourWireFrame ;
__property CreatedBy ;
__property Description ;
__property DisplayHistory ;
__property DisplayMode ;
__property DefaultExtension ;
__property Editable ;
__property FileName ;
__property Grid ;
__property GridStyle ;
__property GridColor ;
__property HighFont ;
__property HelpFile ;
__property Instructions ;
__property Legend ;
__property Movable ;
__property Multiplicity ;
__property MultiplePen ;
__property MultiJoin ;
__property PieRowCount ;
__property NoSeries ;
__property NoYAxes ;
__property OutlineWidth ;
__property PlotType ;
__property PolarRange ;
__property PopupOptions ;
__property PrintOrientation ;
__property SaveOptions ;
__property Title ;
__property WallColor ;
__property XAxis ;
__property YAxis ;
__property ZAngle ;
__property ZLink ;
__property XYFastAt ;
__property OnAfterPaint ;
__property OnAfterDraw ;
__property OnBeforePaint ;
__property OnBeforeDraw ;
__property OnStyleChange ;
__property OnDataChange ;
__property OnFileOpen ;
__property OnFileClose ;
__property OnHeader ;
__property OnHeaderRequest ;
__property OnHTMLHeaderRequest ;
__property OnSelection ;
__property OnDualSelection ;
__property Align ;
__property BevelInner ;
__property BevelOuter ;
__property BevelWidth ;
__property BorderWidth ;
__property BorderStyle ;
__property Color ;
__property Ctl3D ;
__property DragCursor ;
__property DragMode ;
__property Enabled ;
__property Font ;
__property ParentColor ;
__property Locked ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property ShowHint ;
__property TabOrder ;
__property TabStop ;
__property Visible ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnResize ;
__property FullRepaint ;
__property OnStartDrag ;
public:
/* TCustomPlot.Create */ __fastcall virtual TPlot(Classes::TComponent* AOwner) : Plot::TCustomPlot(
AOwner) { }
/* TCustomPlot.Destroy */ __fastcall virtual ~TPlot(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TPlot(HWND ParentWindow) : Plot::TCustomPlot(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
#define SUBHEADER "Subheader"
#define POLYORDER (Byte)(1)
#define DEF_EXTENSION "plot"
#define PROP_EXTENSION "props"
#define crScope (Byte)(1)
#define crX (Byte)(2)
extern PACKAGE System::AnsiString ImageExtensions[5];
#define PICTURE_TYPES "Metafile (picture)|*.wmf|Enhanced Metafile (picture)|*.emf"\
"|Bitmap|*.bmp"
} /* namespace Plot */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Plot;
#endif
//-- end unit ----------------------------------------------------------------
#endif // Plot