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
◆
coordSystem()
[2/2]
Matrix2d
Matrix2d::coordSystem
(
const
Point2d
&
origin
,
float
scaleX
,
float
scaleY
=
0
,
float
angle
=
0
)
static
返回给定原点、比例和旋转角度的坐标系
参数
origin
新坐标系的原点坐标
scaleX
X轴的比例系数
scaleY
Y轴的比例系数,为0则取为scaleX
angle
X轴的旋转角度,弧度
返回
新坐标系的矩阵
函数调用图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证