Skip to main content

Module matrix_type

Module matrix_type 

Source
Expand description

SkMatrix::TypeMask 中与类别相关的公开位,可与 | 组合;Matrix::get_type 的返回值可与此做位运算。 Public SkMatrix::TypeMask bits; combine with |; use with Matrix::get_type.

Constants§

AFFINE
位:含一般仿射(错切、旋转等)。Bit: general affine.
IDENTITY
单位矩阵(无数值分类)。Identity (no transform classification).
PERSPECTIVE
位:含透视(persp0/persp1 非零等)。Bit: perspective.
SCALE
位:含缩放。Bit: scale present.
TRANSLATE
位:含平移分量。Bit: translation present.