/** * 平移矩阵 * @param {*} x * @param {*} y */ export declare function getTranslateMatrix(x: any, y: any): Matrix; /** * 缩放矩阵。 * @param {*} xScale * @param {*} yScale */ export declare function getScaleMatrix(xScale: any, yScale: any): Matrix; /** * 旋转矩阵。 * @param {*} xScale * @param {*} yScale */ export declare function getRotateMatrix(angle: any): Matrix; /** * 镜像翻转矩阵。 * @param {*} mirrorAxis */ export declare function getMirrorMatrix(mirrorAxis: any): Matrix; /** * 求逆矩阵 * @param {*} matrix */ export declare function getInverseMatrix(matrix: any): Matrix; /** * 生成矩阵对象 * @param {*} param n行n列二维数组 */ export declare class Matrix { data: any; constructor(param?: any); clone(): Matrix; } /** * 多个矩阵相乘(左乘), matrixMutiply(matrix1, matrix2,matrix3...) * @param {*} args */ export declare function matrixMutiply(...args: any[]): any; /** * 点乘以矩阵 * @param {*} point * @param {*} matrix */ export declare function pointMultiplyMatrix(point: { x: number; y: number; }, matrix: any): { x: any; y: any; }; /** * 缩放矩阵 * @param {*} matrix * @param {*} scale */ export declare function matrixScale(matrix: any, scale: any): Matrix; /** * 矩阵转置 * @param matrix */ export declare function matrixTranspose(matrix: any): Matrix; /** * 根据缩放比例、位移计算矩阵 * @param {*} source * @param {*} target * @param {*} yMirror */ export declare function createWorldMatrix(source: any, target: any, yMirror: any, xyChange?: boolean, xMirror?: boolean): Matrix; export declare function equal(value1: any, value2: any, strict?: boolean): boolean; export declare function matrixCompare(m1: any, m2: any): boolean; /** * 地图的计算矩阵。根据缩放比例、位移计算矩阵 * @param {*} source 数据矩阵 * @param {*} target 画布矩阵 */ export declare function createWorldMatrixMap(source: any, target: any): Matrix; /** * 地图的计算矩阵。根据缩放比例、位移计算矩阵 * @param {*} source * @param {*} target * @param {*} yMirror */ export declare function createWorldMatrixTopo(source: any, target: any): any; /** * TODO: * 目前按照这片文章的介绍进行矩阵计算 * https://km.woa.com/articles/show/513878 * * 和t1的计算矩阵和计算顺序相反,后续待讨论 * https://km.woa.com/group/17746/articles/show/425498在这里未作说明 */