specioperation.h

来自「moto e2键盘软锁第三版」· C头文件 代码 · 共 38 行

H
38
字号
// SpeciOperation.h: interface for the SpeciOperation class.
//
//////////////////////////////////////////////////////////////////////

#define QT_NO_DRAGANDDROP#define QT_NO_PROPERTIES#ifndef SPECIOPERATION_H#define SPECIOPERATION_H#include "math.h"
#include <stdio.h>#include <stdlib.h>#include <qpoint.h>
//typedef float Matrix[3][3];
//Matrix theMatrix;
struct point {int x;int y;};
class SpeciOperation  
{
public:
	float	theMatrix[3][3];
public:
	SpeciOperation();
	virtual ~SpeciOperation();
	void Change(int &ax,int &ay,int style);
	void Change(QPoint &ap,QPoint &bp,int style);
	void rotate(float a,float x,float y);
/*	void scale(float sx,float sy,float x,float y);
	void translate(int tx,int ty);*/
	void matrixPreMultiply(float a[][3],float b[][3]);
	void matrixSetIdentity(float m[][3]);
/**/
};

#endif // !defined(AFX_SPECIOPERATION_H__6B0A9B34_E386_4803_A5A3_C8E3773FA996__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?