📄 aceout.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AceOut.pas' rev: 4.00
#ifndef AceOutHPP
#define AceOutHPP
#pragma delphiheader begin
#pragma option push -w-
#include <AceUtil.hpp> // Pascal unit
#include <AceView.hpp> // Pascal unit
#include <AceFile.hpp> // Pascal unit
#include <AceSetup.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Printers.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Aceout
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TAceDestination { adPrinter, adAceFile, adPreview, adNoWhere };
#pragma option pop
class DELPHICLASS TAceOutput;
class DELPHICLASS TAceCanvas;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAceCanvas : public System::TObject
{
typedef System::TObject inherited;
private:
TAceOutput* FAceOutput;
Graphics::TFont* FFont;
Graphics::TBrush* FBrush;
Graphics::TPen* FPen;
unsigned FHandle;
TAceDestination FDestination;
int FPixelsPerInchX;
int FPixelsPerInchY;
tagLOGFONTA FLogFont;
tagLOGPEN FLogPen;
tagLOGBRUSH FLogBrush;
unsigned FSelectFont;
unsigned FSelectBrush;
unsigned FSelectPen;
protected:
void __fastcall SetFont(Graphics::TFont* f);
void __fastcall SetLogFont(const tagLOGFONTA &lf);
void __fastcall SetBrush(Graphics::TBrush* b);
void __fastcall SetLogBrush(const tagLOGBRUSH &LB);
void __fastcall SetPen(Graphics::TPen* p);
void __fastcall SetLogPen(const tagLOGPEN &LP);
void __fastcall SetSelectFont(unsigned hnd);
unsigned __fastcall GetSelectFont(void);
void __fastcall SetSelectBrush(unsigned hnd);
unsigned __fastcall GetSelectBrush(void);
void __fastcall SetSelectPen(unsigned hnd);
unsigned __fastcall GetSelectPen(void);
void __fastcall SetHandle(unsigned hnd);
void __fastcall FontChanged(void);
void __fastcall UpdateFont(System::TObject* Sender);
void __fastcall UpdatePen(System::TObject* Sender);
void __fastcall UpdateBrush(System::TObject* Sender);
public:
__fastcall TAceCanvas(void);
__fastcall virtual ~TAceCanvas(void);
void __fastcall SetTextAlign(Word Flags);
void __fastcall Textout(int x, int y, const AnsiString Text);
void __fastcall MoveTo(int x, int y);
void __fastcall LineTo(int x, int y);
void __fastcall PTextOut(int x, int y, char * Text, int Count);
void __fastcall ExtTextout(int x, int y, Word Options, const Windows::TRect &Rect, char * Text, Word
Count);
void __fastcall TextRect(const Windows::TRect &Rect, int x, int y, const AnsiString Text);
void __fastcall FillRect(const Windows::TRect &Rect);
void __fastcall Rectangle(int x1, int y1, int x2, int y2);
void __fastcall RoundRect(int x1, int y1, int x2, int y2, int x3, int y3);
void __fastcall Ellipse(int x1, int y1, int x2, int y2);
void __fastcall Draw(int x, int y, Graphics::TGraphic* Graphic);
void __fastcall StretchDraw(const Windows::TRect &Rect, Graphics::TGraphic* Graphic);
void __fastcall ShadeRect(const Windows::TRect &Rect, Aceutil::TAceShadePercent Shade);
void __fastcall SetFontAngle(int Angle);
void __fastcall SetBkColor(int bkColor);
void __fastcall TextJustify(const Windows::TRect &Rect, int x, int y, const AnsiString Text, bool EndParagraph
, const Windows::TRect &FullRect);
void __fastcall DrawBitmap(int X, int Y, Classes::TStream* Stream);
void __fastcall StretchDrawBitmap(const Windows::TRect &Rect, Classes::TStream* Stream);
__property TAceOutput* AceOutput = {read=FAceOutput, write=FAceOutput};
__property Graphics::TFont* Font = {read=FFont, write=SetFont};
__property tagLOGFONTA LogFont = {read=FLogFont, write=SetLogFont};
__property Graphics::TBrush* Brush = {read=FBrush, write=SetBrush};
__property tagLOGBRUSH LogBrush = {read=FLogBrush, write=SetLogBrush};
__property Graphics::TPen* Pen = {read=FPen, write=SetPen};
__property tagLOGPEN LogPen = {read=FLogPen, write=SetLogPen};
__property unsigned Handle = {read=FHandle, write=SetHandle, nodefault};
__property TAceDestination Destination = {read=FDestination, write=FDestination, nodefault};
__property int PixelsPerInchX = {read=FPixelsPerInchX, write=FPixelsPerInchX, nodefault};
__property int PixelsPerInchY = {read=FPixelsPerInchY, write=FPixelsPerInchY, nodefault};
__property unsigned SelectFont = {read=GetSelectFont, write=SetSelectFont, nodefault};
__property unsigned SelectBrush = {read=GetSelectBrush, write=SetSelectBrush, nodefault};
__property unsigned SelectPen = {read=GetSelectPen, write=SetSelectPen, nodefault};
void __fastcall RtfDraw(const Windows::TRect &Rect, Classes::TStream* Stream, int StartPos, int EndPos
, bool SetDefFont);
void __fastcall DrawCheckBox(const Windows::TRect &Rect, Aceutil::TAceCheckStyle CheckStyle, Graphics::TColor
Color, int Thickness);
void __fastcall Arc(int X1, int Y1, int X2, int Y2, int X3, int Y3, int X4, int Y4);
void __fastcall Chord(int X1, int Y1, int X2, int Y2, int X3, int Y3, int X4, int Y4);
void __fastcall Pie(int X1, int Y1, int X2, int Y2, int X3, int Y3, int X4, int Y4);
void __fastcall DrawShapeType(Aceutil::TAceDrawType dt, int x1, int y1, int x2, int y2, int x3, int
y3, int x4, int y4);
void __fastcall Polygon(const Windows::TPoint * Points, const int Points_Size);
void __fastcall Polyline(const Windows::TPoint * Points, const int Points_Size);
void __fastcall PolyDrawType(Aceutil::TAcePolyType pt, const Windows::TPoint * Points, const int Points_Size
);
void __fastcall Print3of9Barcode(int Left, int Top, int Width, int Height, int NarrowWidth, int WideWidth
, bool Inches, bool Vertical, AnsiString BarData);
void __fastcall Print2of5Barcode(int Left, int Top, int Width, int Height, int NarrowWidth, int WideWidth
, bool Inches, bool Vertical, AnsiString BarData);
};
#pragma pack(pop)
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAceOutput : public System::TObject
{
typedef System::TObject inherited;
private:
Printers::TPrinter* FPrinter;
TAceDestination FDestination;
TAceCanvas* FAceCanvas;
unsigned FHandle;
AnsiString FFileName;
Acefile::TAceAceFile* FAceFile;
Acesetup::TAcePrinterSetup* FAcePrinterSetup;
int FPixelsPerInchX;
int FPixelsPerInchY;
float FLoadPercent;
Aceview::TAceViewer* FAceViewer;
AnsiString FDescription;
bool FCreateFile;
protected:
unsigned __fastcall GetHandle(void);
void __fastcall SetAcePrinterSetup(Acesetup::TAcePrinterSetup* ps);
void __fastcall SetDestination(TAceDestination dest);
public:
__fastcall TAceOutput(void);
__fastcall virtual ~TAceOutput(void);
void __fastcall FixupPage(void);
void __fastcall BeginDoc(void);
void __fastcall EndDoc(void);
void __fastcall NewPage(void);
void __fastcall EndPage(void);
void __fastcall StartPage(void);
void __fastcall Abort(void);
__property TAceDestination Destination = {read=FDestination, write=SetDestination, nodefault};
__property TAceCanvas* AceCanvas = {read=FAceCanvas, write=FAceCanvas};
__property unsigned Handle = {read=GetHandle, write=FHandle, nodefault};
__property Printers::TPrinter* Printer = {read=FPrinter, write=FPrinter};
__property AnsiString FileName = {read=FFileName, write=FFileName};
__property Acefile::TAceAceFile* AceFile = {read=FAceFile, write=FAceFile};
__property Aceview::TAceViewer* AceViewer = {read=FAceViewer, write=FAceViewer};
__property int PixelsPerInchX = {read=FPixelsPerInchX, write=FPixelsPerInchX, nodefault};
__property int PixelsPerInchY = {read=FPixelsPerInchY, write=FPixelsPerInchY, nodefault};
__property Acesetup::TAcePrinterSetup* AcePrinterSetup = {read=FAcePrinterSetup, write=SetAcePrinterSetup
};
__property float LoadPercent = {read=FLoadPercent, write=FLoadPercent};
__property AnsiString Description = {read=FDescription, write=FDescription};
__property bool CreateFile = {read=FCreateFile, write=FCreateFile, nodefault};
};
#pragma pack(pop)
typedef void __fastcall (*TAcePrintOffsetEvent)(void);
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE int PrintOffsetX;
extern PACKAGE int PrintOffsetY;
extern PACKAGE TAcePrintOffsetEvent OnPrintOffset;
} /* namespace Aceout */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Aceout;
#endif
#pragma option pop // -w-
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // AceOut
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -