mypoint.h
来自「Calculator program written by DLLs with 」· C头文件 代码 · 共 31 行
H
31 行
// MyPoint.h: interface for the CMyPoint class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MYPOINT_H__26CB9B3F_B224_41FD_BC78_F3A5999C4F6D__INCLUDED_)
#define AFX_MYPOINT_H__26CB9B3F_B224_41FD_BC78_F3A5999C4F6D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMyPoint:public CPoint
{
public:
_declspec(dllexport) CMyPoint();
_declspec(dllexport) virtual ~CMyPoint();
_declspec(dllexport) void ConvertToMyPoint(double xx,double yy,int rx,int ry)
{
x=(int)(xx*rx);
y=(int)(yy*ry);
}
_declspec(dllexport) void PutToAxisC(CMyPoint C)// dua diem vao he truc to do co goc toa do C
{
x=x+C.x;
y=C.y-y;
}
};
#endif // !defined(AFX_MYPOINT_H__26CB9B3F_B224_41FD_BC78_F3A5999C4F6D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?