TouchVG framework
Point2d
add
asVector
distanceSquare
distanceTo
get
isDegenerate
isEqualTo
kInvalid
kOrigin
length
negate
offset
offset
operator!=
operator*
operator*
operator*
operator*
operator*=
operator*=
operator+
operator+
operator+
operator+=
operator+=
operator-
operator-
operator-
operator-=
operator/
operator/=
operator==
Point2d
Point2d
Point2d
polarPoint
rulerPoint
rulerPoint
scaleBy
scaleBy
set
set
subtract
subtract
transform
x
y
◆
get()
void Point2d::get
(
long &
xx
,
long &
yy
)
const
得到四舍五入后的坐标
利用该函数可以将矢量转换为POINT、CPoint值
参数
[out]
xx
四舍五入后的X坐标分量
[out]
yy
四舍五入后的Y坐标分量
函数调用图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证