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
◆
inflate()
[4/5]
Box2d
& Box2d::inflate
(
const
Box2d
&
box
)
中心不变,扩大矩形框
参数
box
向外侧的偏移, box.xmin为左侧的偏移距离,box.ymin为底侧的偏移距离, box.xmax为右侧的偏移距离,box.ymax为上侧的偏移距离
返回
本对象的引用
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证