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