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
◆
rulerPoint()
[1/2]
Point2d
Point2d::rulerPoint
(
const
Point2d
&
dir
,
float
yoff
)
const
移动直尺法
相对于起始点(本点)和方向点,在垂直沿线方向(→↑)偏移指定距离计算坐标
参数
dir
方向点,本点→方向点
yoff
垂直沿线方向偏移,方向点↑偏移
返回
计算出的坐标
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证