📄 figure.cpp
字号:
//程序FIGURE.CPP(8.6.3) 功能:图形类FIGURE的类实现
#include "figstack.h"
FIGURE::FIGURE(int x, int y)
{
x_pos=x;
y_pos=y;
visible=FALSE;
}
void FIGURE::move_to(int x, int y)
{
this->hide();
this->x_pos=x;
this->y_pos=y;
this->show();
}
void FIGURE::contract(int delta)
{
expand(-delta);
}
BOOLEAN FIGURE::is_visible()
{
return visible;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -