TouchVG framework
MgBaseRect
_clear
_copy
_equals
_getHandleCount
_getHandlePoint
_getHandleType
_getPoint
_getPointCount
_hitTest
_hitTestBox
_isClosed
_isKindOf
_load
_output
_points
_save
_setHandlePoint
_setPoint
_transform
_update
getAngle
getCenter
getDiagonalLength
getHeight
getPoints
getRect
getSubType
getWidth
isEmpty
isOrtho
MgBaseRect
setCenter
setRect2P
setRect4P
setRectWithAngle
setSquare
transformWith2P
Type
◆
setRectWithAngle()
void MgBaseRect::setRectWithAngle
(
const
Point2d
&
pt1
,
const
Point2d
&
pt2
,
float
angle
,
const
Point2d
&
basept
)
设置倾斜矩形,(pt1-pt2)为旋转前的对角点,basept为旋转中心
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证