TouchVG framework
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
center
contains
contains
contains
contains
deflate
deflate
deflate
deflate
deflate
empty
get
get
get
height
inflate
inflate
inflate
inflate
inflate
intersectWith
intersectWith
isEmpty
isEmptyMinus
isEqualTo
isIntersect
isNormalized
isNull
kIdentity
leftBottom
leftTop
normalize
offset
offset
offset
operator &
operator &=
operator!=
operator*
operator*
operator*=
operator*=
operator+
operator+
operator+=
operator+=
operator-
operator-
operator-=
operator-=
operator/
operator/=
operator==
operator|
operator|=
rightBottom
rightTop
scaleBy
set
set
set
set
set
set
size
swapTopBottom
unionWith
unionWith
unionWith
unionWith
width
xmax
xmin
ymax
ymin
◆
get()
[3/3]
void Box2d::get
(
long &
l
,
long &
t
,
long &
r
,
long &
b
)
const
得到四舍五入后的矩形(RECT),已上下对调
如果本矩形为规范化矩形,则取出的RECT也符合Windows规范化矩形要求, 即 CRect::NormalizeRect() 的结果。
参数
[out]
l
RECT.left,对应于xmin
[out]
t
RECT.top,对应于ymin
[out]
r
RECT.right,对应于xmax
[out]
b
RECT.bottom,对应于ymax
函数调用图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证