TouchVG framework
Matrix2d
angle
coordSystem
coordSystem
det
dx
dy
getCoordSystem
hasMirror
inverse
invert
isConformal
isEqualTo
isIdentity
isInvertible
isOrtho
kIdentity
m11
m12
m21
m22
Matrix2d
Matrix2d
Matrix2d
Matrix2d
mirroring
mirroring
operator!=
operator*
operator*
operator*
operator*=
operator*=
operator/
operator/=
operator==
postMultBy
preMultBy
rotation
scale
scaleBy
scaleBy
scaleX
scaleY
scaling
scaling
set
setCoordSystem
setToIdentity
setToMirroring
setToMirroring
setToProduct
setToRotation
setToScaling
setToScaling
setToShearing
setToTranslation
shearing
transformPoints
transformVectors
transformWith2P
translation
◆
rotation()
Matrix2d
Matrix2d::rotation
(
float
angle
,
const
Point2d
&
center
=
Point2d::kOrigin
()
)
static
得到以一点为中心的旋转变换矩阵
参数
angle
旋转角度,弧度,逆时针为正
center
旋转中心点
返回
新的变换矩阵
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证