delphi 中point是什么?

来源:百度知道 编辑:UC知道 时间:2024/05/21 13:08:43
这是个数据类型吗?怎么定义啊?

介绍Delphi的指针的定义、使用,值/引用模型,指针数据类型和PChar指针-And C language pointer comparison, Delphi introduced the definition of a pointer, use, value/reference model, the pointer data type and PChar pointer.

point 是数据类型 表示一个点,有两个属性xy坐标
定义
pointOne:TPoint;
使用
pointOne.X //integer类型的
pointOne.Y //integer类型的
不过按你的图片中所示x y 是Long类型的
-------------------------------------
希望能帮到你

你看的是windows sdk 不是delphi的帮助

point 是 个结构体 定义如下

typedef struct tagPOINT { // pt
LONG x;
LONG y;
} POINT;


就是 包含X和Y的结构 一般代表坐标位置