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
◆
unionWith()
[3/4]
Box2d
& Box2d::unionWith
(
float
x
,
float
y
)
合并一个点
放大本矩形框以使得给定的点包含在本矩形框内,并使放大量最小
参数
x
要包含的点的X坐标
y
要包含的点的Y坐标
返回
本矩形的引用,规范化矩形
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证