📄 specioperation.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -