資源簡介
C語言 用隨機噪點慢慢消失一個美女,再慢慢恢復(EasyX 簡單圖像處理 銷蝕圖像 恢復圖像 )
代碼片段和文件信息
////////////////////////////////////////////////////////////////////////////////
//?程序名稱:用隨機噪點慢慢消失一個美女,再慢慢恢復
//?編譯環境:Visual?C++?6.0?,EasyX?2014冬至版
//?作 者:趙二傳(tab_98@163.com)
//?最后修改:2015-7-26
//?說????明:可執行文件同目錄下放一張800x600或以上4:3的gif格式圖片名字為aa.gif
//
#include?
#include?
#include?
#include?
#include?
const?int?X=800;
const?int?Y=600;
const?char?fname[]=“aa.gif“;
void?box(DWORD?color_LeftTop?DWORD?color_RightBottom)
{
setrop2(R2_COPYPEN);
setfillcolor(LIGHTGRAY);
bar(370500430530);
setlinestyle(PS_SOLID2);
setlinecolor(color_LeftTop);
line(370500430500);
line(370500370530);
setlinecolor(color_RightBottom);
line(370530430530);
line(430500430530);
}
void?drawButton()
{
box(WHITEB
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-07-26?14:27??graphTest\
?????文件????????4351??2015-07-26?14:22??graphTest\graphTest.dsp
?????文件?????????524??2015-07-26?07:16??graphTest\graphTest.dsw
?????文件????????2268??2015-07-26?14:14??graphTest\main.cpp
?????目錄???????????0??2015-07-26?14:23??graphTest\Release\
?????文件??????261543??2015-07-26?13:54??graphTest\Release\aa.gif
?????文件??????110592??2015-07-26?14:22??graphTest\Release\graphTest.exe
- 上一篇:C++軟件工程師面試最全總結
- 下一篇:c語言抓包程序
評論
共有 條評論