📄 gditest5.dpr
字号:
program GDITEST5;
uses
Windows,
Messages,
SysUtils,
GDIPAPI,
GDIPOBJ;
Procedure OnPaint(DC: HDC);
var
graphics : TGPGraphics;
Pen : TGPPen;
path : TGPGraphicsPath;
brush: TGPSolidBrush;
const
points : array[0..2] of TGPPoint =
((x: 40; y: 60),
(x: 50; y: 70),
(x: 30; y: 90));
begin
graphics := TGPGraphics.Create(DC);
// To create a path, construct a GraphicsPath object, and then call methods,
// such as AddLine and AddCurve, to add primitives to the path.
// The following example creates a path that has a single arc. The arc has a
// sweep angle of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -