📄 rm_anglbl.hpp
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Rm_anglbl.pas' rev: 11.00
#ifndef Rm_anglblHPP
#define Rm_anglblHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
#include <Rm_common.hpp> // Pascal unit
#include <Rm_class.hpp> // Pascal unit
#include <Rm_ctrls.hpp> // Pascal unit
#include <Rm_jvinterpreter.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Rm_anglbl
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRMAngledLabelObject;
class PASCALIMPLEMENTATION TRMAngledLabelObject : public Classes::TComponent
{
typedef Classes::TComponent inherited;
public:
#pragma option push -w-inl
/* TComponent.Create */ inline __fastcall virtual TRMAngledLabelObject(Classes::TComponent* AOwner) : Classes::TComponent(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TComponent.Destroy */ inline __fastcall virtual ~TRMAngledLabelObject(void) { }
#pragma option pop
};
#pragma option push -b-
enum TRMAnchorStyle { rmasNone, rmasTextLeft, rmasTextCenter, rmasTextRight };
#pragma option pop
struct TRMAngledValues
{
public:
int fntWidth;
int fntHeight;
int txtWidth;
int txtHeight;
int gapTxtWidth;
int gapTxtHeight;
int totWidth;
int totHeight;
int posLeft;
int posTop;
int posX;
int posY;
} ;
class DELPHICLASS TRMAngledLabelView;
class PASCALIMPLEMENTATION TRMAngledLabelView : public Rm_class::TRMCustomMemoView
{
typedef Rm_class::TRMCustomMemoView inherited;
private:
TRMAnchorStyle FAnchorStyle;
int FAngle;
void __fastcall CalculateAngledValues(TRMAngledValues &aValues, const WideString aStr);
void __fastcall DrawAngledLabel(const WideString aStr);
protected:
virtual AnsiString __fastcall GetViewCommon();
public:
__fastcall virtual TRMAngledLabelView(void);
virtual Rm_common::TRMExportMode __fastcall GetExportMode(void);
virtual void __fastcall Draw(Graphics::TCanvas* aCanvas);
virtual void __fastcall LoadFromStream(Classes::TStream* aStream);
virtual void __fastcall SaveToStream(Classes::TStream* aStream);
virtual void __fastcall DefinePopupMenu(Rm_ctrls::TRMCustomMenuItem* aPopup);
__published:
__property TRMAnchorStyle AnchorStyle = {read=FAnchorStyle, write=FAnchorStyle, nodefault};
__property int Angle = {read=FAngle, write=FAngle, nodefault};
__property LeftFrame ;
__property RightFrame ;
__property TopFrame ;
__property BottomFrame ;
__property FillColor ;
__property ReprintOnOverFlow ;
__property ShiftWith ;
__property BandAlign ;
__property DataField ;
public:
#pragma option push -w-inl
/* TRMCustomMemoView.Destroy */ inline __fastcall virtual ~TRMAngledLabelView(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Rm_anglbl */
using namespace Rm_anglbl;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Rm_anglbl
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -