Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - v c
Search - v c - List
DL : 0
孔令德 计算机图形学基础教程(Visual C++版)第五章编程作业-Essentials孔令德Computer Graphics (Visual C++ version) Chapter V programming operation
Date : 2025-12-30 Size : 1.93mb User : 陈燕月

一、使用方法 003   程序中定义了几个特殊键: 004   \"V":画笔提起 005   \"W":开始画图 006   \"R":开始擦图 007   \"S":当前图形存入文件 008   \"E":调出已有文件 009   \"C":画圆 010   程序一运行,屏幕上出现一个黄色的边框来设定画图的区域,区域中间出现提起的画笔符号 ,当按下"W"键时,画笔符号变为 ,此时可移动方向键(上、下、左、右、左上、左下、右上、右下)来画图 当按下"R"键时,画笔符号变为 ,此时可移动方向键来擦图 在画图过程中,按下"C"键,可画出一个半径为20个象素点的圆 当结束画图时,按下"S"键,将画好的图形存盘 按下"E"键可调出已有的图形进行编辑. -First, the use Program defines several special keys: \ "V": brush lift \ "W": start drawing \ "R": start wiping Figure \ "S": the current graphics into documents \ "E": the file has been transferred out \ "C": circle Program for a run, a yellow on the screen to set the drawing of the border region, the middle of the region to bring the brush symbol, When you press the "W" key, the symbol into the brush, then you can move the arrow keys (up, down, left, right, left, lower left, upper right, lower right) to draw Figure when you press the "R" key, the symbol into the brush, then you can move the arrow keys to rub map in the drawing process, press the "C" key to draw a half- 20 pixel diameter circle when the end of the drawing, press the "S" key to draw a good save graphics press the "E" key pressed, the existing graphics Editing.
Date : 2025-12-30 Size : 2kb User : 张云

把鼠标的三个事件响应函数OnLButtonDown,OnMouseMove,OnRButtonUp封装在同一个类Controller中。MFC程序中的M-V-C,控制器编程-Three mouse events response function OnLButtonDown, OnMouseMove, OnRButtonUp, packaged in the same class Controller. The MFC program MVC, controller programming
Date : 2025-12-30 Size : 1.86mb User : 汪燕飞
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.