📄 advgdip.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AdvGDIP.pas' rev: 6.00
#ifndef AdvGDIPHPP
#define AdvGDIPHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Math.hpp> // Pascal unit
#include <ActiveX.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Advgdip
{
//-- type declarations -------------------------------------------------------
typedef short INT16;
typedef Word UINT16;
typedef UINT16 *PUINT16;
typedef unsigned UINT32;
typedef DynamicArray<float > TSingleDynArray;
#pragma option push -b
enum TAntiAlias { aaNone, aaClearType, aaAntiAlias };
#pragma option pop
class DELPHICLASS TGdiplusBase;
class PASCALIMPLEMENTATION TGdiplusBase : public System::TObject
{
typedef System::TObject inherited;
public:
#pragma option push -w-inl
/* TObject.Create */ inline __fastcall TGdiplusBase(void) : System::TObject() { }
#pragma option pop
#pragma option push -w-inl
/* TObject.Destroy */ inline __fastcall virtual ~TGdiplusBase(void) { }
#pragma option pop
};
#pragma option push -b
enum FillMode { FillModeAlternate, FillModeWinding };
#pragma option pop
typedef FillMode TFillMode;
#pragma option push -b
enum Unit_ { UnitWorld, UnitDisplay, UnitPixel, UnitPoint, UnitInch, UnitDocument, UnitMillimeter };
#pragma option pop
typedef Unit_ TUnit;
#pragma option push -b
enum DashStyle { DashStyleSolid, DashStyleDash, DashStyleDot, DashStyleDashDot, DashStyleDashDotDot, DashStyleCustom };
#pragma option pop
typedef DashStyle TDashStyle;
#pragma option push -b
enum WrapMode { WrapModeTile, WrapModeTileFlipX, WrapModeTileFlipY, WrapModeTileFlipXY, WrapModeClamp };
#pragma option pop
typedef WrapMode TWrapMode;
#pragma option push -b
enum LinearGradientMode { LinearGradientModeHorizontal, LinearGradientModeVertical, LinearGradientModeForwardDiagonal, LinearGradientModeBackwardDiagonal };
#pragma option pop
typedef LinearGradientMode TLinearGradientMode;
typedef int FontStyle;
typedef int TFontStyle;
typedef int SmoothingMode;
typedef int TSmoothingMode;
#pragma option push -b
enum TextRenderingHint { TextRenderingHintSystemDefault, TextRenderingHintSingleBitPerPixelGridFit, TextRenderingHintSingleBitPerPixel, TextRenderingHintAntiAliasGridFit, TextRenderingHintAntiAlias, TextRenderingHintClearTypeGridFit };
#pragma option pop
typedef TextRenderingHint TTextRenderingHint;
#pragma option push -b
enum StringAlignment { StringAlignmentNear, StringAlignmentCenter, StringAlignmentFar };
#pragma option pop
typedef StringAlignment TStringAlignment;
#pragma option push -b
enum HotkeyPrefix { HotkeyPrefixNone, HotkeyPrefixShow, HotkeyPrefixHide };
#pragma option pop
typedef HotkeyPrefix THotkeyPrefix;
#pragma option push -b
enum FlushIntention { FlushIntentionFlush, FlushIntentionSync };
#pragma option pop
typedef FlushIntention TFlushIntention;
#pragma option push -b
enum Status { Ok, GenericError, InvalidParameter, OutOfMemory, ObjectBusy, InsufficientBuffer, NotImplemented, Win32Error, WrongState, Aborted, FileNotFound, ValueOverflow, AccessDenied, UnknownImageFormat, FontFamilyNotFound, FontStyleNotFound, NotTrueTypeFont, UnsupportedGdiplusVersion, GdiplusNotInitialized, PropertyNotFound, PropertyNotSupported };
#pragma option pop
typedef Status TStatus;
struct TGPPointF;
typedef TGPPointF *PGPPointF;
#pragma pack(push, 1)
struct TGPPointF
{
float X;
float Y;
} ;
#pragma pack(pop)
typedef DynamicArray<TGPPointF > TPointFDynArray;
#pragma pack(push, 1)
struct TGPPoint
{
int X;
int Y;
} ;
#pragma pack(pop)
typedef TGPPoint *PGPPoint;
typedef DynamicArray<TGPPoint > TPointDynArray;
struct TGPRectF;
typedef TGPRectF *PGPRectF;
#pragma pack(push, 1)
struct TGPRectF
{
float X;
float Y;
float Width;
float Height;
} ;
#pragma pack(pop)
typedef DynamicArray<TGPRectF > TRectFDynArray;
#pragma pack(push, 1)
struct TGPRect
{
int X;
int Y;
int Width;
int Height;
} ;
#pragma pack(pop)
typedef TGPRect *PGPRect;
typedef DynamicArray<TGPRect > TRectDynArray;
#pragma option push -b
enum DebugEventLevel { DebugEventLevelFatal, DebugEventLevelWarning };
#pragma option pop
typedef DebugEventLevel TDebugEventLevel;
typedef void __stdcall (*DebugEventProc)(DebugEventLevel level, char * message);
typedef Status __stdcall (*NotificationHookProc)(/* out */ unsigned &token);
typedef void __stdcall (*NotificationUnhookProc)(unsigned token);
#pragma pack(push, 1)
struct GdiplusStartupInput
{
unsigned GdiplusVersion;
DebugEventProc DebugEventCallback;
BOOL SuppressBackgroundThread;
BOOL SuppressExternalCodecs;
} ;
#pragma pack(pop)
typedef GdiplusStartupInput TGdiplusStartupInput;
typedef GdiplusStartupInput *PGdiplusStartupInput;
#pragma pack(push, 1)
struct GdiplusStartupOutput
{
NotificationHookProc NotificationHook;
NotificationUnhookProc NotificationUnhook;
} ;
#pragma pack(pop)
typedef GdiplusStartupOutput TGdiplusStartupOutput;
typedef GdiplusStartupOutput *PGdiplusStartupOutput;
typedef unsigned *PARGB;
typedef unsigned *PGPColor;
typedef void *GpGraphics;
typedef void *GpBrush;
typedef void *GpSolidFill;
typedef void *GpLineGradient;
typedef void *GpPathGradient;
typedef void *GpPen;
typedef void *GpImage;
typedef void *GpPath;
typedef void *GpFontFamily;
typedef void *GpFont;
typedef void *GpStringFormat;
typedef void *GpFontCollection;
typedef Status GpStatus;
typedef FillMode GpFillMode;
typedef WrapMode GpWrapMode;
typedef Unit_ GpUnit;
typedef TGPPointF *GpPointF;
typedef TGPPoint *GpPoint;
typedef TGPRectF *GpRectF;
typedef TGPRect *GpRect;
typedef DashStyle GpDashStyle;
typedef FlushIntention GpFlushIntention;
class DELPHICLASS TGPFontFamily;
class DELPHICLASS TGPFontCollection;
class PASCALIMPLEMENTATION TGPFontFamily : public TGdiplusBase
{
typedef TGdiplusBase inherited;
protected:
void *nativeFamily;
Status lastResult;
Status __fastcall SetStatus(Status status);
public:
__fastcall TGPFontFamily(void * nativeOrig, Status status)/* overload */;
__fastcall TGPFontFamily(WideString name, TGPFontCollection* fontCollection)/* overload */;
__fastcall virtual ~TGPFontFamily(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -