mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-16 11:28:54 +00:00
58 lines
1.3 KiB
Markdown
58 lines
1.3 KiB
Markdown
|
|
## pointf\_t
|
|||
|
|
### 概述
|
|||
|
|
点(浮点数)。包括一个x坐标和一个y坐标。
|
|||
|
|
----------------------------------
|
|||
|
|
### 函数
|
|||
|
|
<p id="pointf_t_methods">
|
|||
|
|
|
|||
|
|
| 函数名称 | 说明 |
|
|||
|
|
| -------- | ------------ |
|
|||
|
|
| <a href="#pointf_t_pointf_init">pointf\_init</a> | 初始化point对象。 |
|
|||
|
|
### 属性
|
|||
|
|
<p id="pointf_t_properties">
|
|||
|
|
|
|||
|
|
| 属性名称 | 类型 | 说明 |
|
|||
|
|
| -------- | ----- | ------------ |
|
|||
|
|
| <a href="#pointf_t_x">x</a> | float\_t | x坐标。 |
|
|||
|
|
| <a href="#pointf_t_y">y</a> | float\_t | y坐标。 |
|
|||
|
|
#### pointf\_init 函数
|
|||
|
|
-----------------------
|
|||
|
|
|
|||
|
|
* 函数功能:
|
|||
|
|
|
|||
|
|
> <p id="pointf_t_pointf_init">初始化point对象。
|
|||
|
|
|
|||
|
|
* 函数原型:
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
pointf_t pointf_init (float_t x, float_t y);
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
* 参数说明:
|
|||
|
|
|
|||
|
|
| 参数 | 类型 | 说明 |
|
|||
|
|
| -------- | ----- | --------- |
|
|||
|
|
| 返回值 | pointf\_t | 返回point对象。 |
|
|||
|
|
| x | float\_t | x坐标。 |
|
|||
|
|
| y | float\_t | y坐标。 |
|
|||
|
|
#### x 属性
|
|||
|
|
-----------------------
|
|||
|
|
> <p id="pointf_t_x">x坐标。
|
|||
|
|
|
|||
|
|
* 类型:float\_t
|
|||
|
|
|
|||
|
|
| 特性 | 是否支持 |
|
|||
|
|
| -------- | ----- |
|
|||
|
|
| 可直接读取 | 是 |
|
|||
|
|
| 可直接修改 | 否 |
|
|||
|
|
#### y 属性
|
|||
|
|
-----------------------
|
|||
|
|
> <p id="pointf_t_y">y坐标。
|
|||
|
|
|
|||
|
|
* 类型:float\_t
|
|||
|
|
|
|||
|
|
| 特性 | 是否支持 |
|
|||
|
|
| -------- | ----- |
|
|||
|
|
| 可直接读取 | 是 |
|
|||
|
|
| 可直接修改 | 否 |
|