文件名称:Ls
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2017-07-06
- 文件大小:
- 52kb
- 下载次数:
- 0次
- 提 供 者:
- 天下0***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
如何编图形软件开发程序,画图过程的显示,图像分层显示
图层软件架构:
大型图形软件通用的架构,是用一个抽象类(CLayer)的多态派生类对不同图层代码分类管理。
(如果将各种图形绘制以及拖放过程在一个类中编写,最后这个类的代码将无比庞大而且难于维护)
a)支持画直线、矩形和椭圆等多种图形的软件,必须将鼠标按下、释放和拖动等事件联合处理;
b)支持绘图过程中的显示;
c)支持鼠标光标掠过某个图层时显示热点跟踪(HotTrack)状态;
d)单击某个图层时显示选中状态;
e)拖动某个选中状态图层的功能(根据鼠标落点和起点的距离进行偏移);
f)新绘制的图层和已绘制好选中的图层边框和填充颜色管理。(How to make graphical software development procedures, drawing process display, image layered display
Layer software architecture:
The general architecture of large graphics software is to classify and manage different layers of code using a polymorphic class derived from an abstract class (CLayer).
(if the various graphic drawing and drag and drop processes are written in a class, the code for that class will be extremely large and difficult to maintain)
A) software that supports graphics such as straight lines, rectangles, and ellipses. It must combine the mouse, press, release, and drag events together;
B) support display in drawing process;
C) displays the hot spot tracking (HotTrack) state when the mouse cursor is passed over a layer;
D) displays a selected state when clicked on a layer;
E) drag the function of a selected layer (offset by the distance between the mouse and the starting point);
F) the new layer and the selected layer border and fill color management.)
图层软件架构:
大型图形软件通用的架构,是用一个抽象类(CLayer)的多态派生类对不同图层代码分类管理。
(如果将各种图形绘制以及拖放过程在一个类中编写,最后这个类的代码将无比庞大而且难于维护)
a)支持画直线、矩形和椭圆等多种图形的软件,必须将鼠标按下、释放和拖动等事件联合处理;
b)支持绘图过程中的显示;
c)支持鼠标光标掠过某个图层时显示热点跟踪(HotTrack)状态;
d)单击某个图层时显示选中状态;
e)拖动某个选中状态图层的功能(根据鼠标落点和起点的距离进行偏移);
f)新绘制的图层和已绘制好选中的图层边框和填充颜色管理。(How to make graphical software development procedures, drawing process display, image layered display
Layer software architecture:
The general architecture of large graphics software is to classify and manage different layers of code using a polymorphic class derived from an abstract class (CLayer).
(if the various graphic drawing and drag and drop processes are written in a class, the code for that class will be extremely large and difficult to maintain)
A) software that supports graphics such as straight lines, rectangles, and ellipses. It must combine the mouse, press, release, and drag events together;
B) support display in drawing process;
C) displays the hot spot tracking (HotTrack) state when the mouse cursor is passed over a layer;
D) displays a selected state when clicked on a layer;
E) drag the function of a selected layer (offset by the distance between the mouse and the starting point);
F) the new layer and the selected layer border and fill color management.)
相关搜索: MFC
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Ls\Ellipe.cpp
Ls\Ellipe.h
Ls\Layer.cpp
Ls\Layer.h
Ls\Line.cpp
Ls\Line.h
Ls\Ls.aps
Ls\Ls.clw
Ls\Ls.cpp
Ls\Ls.dsp
Ls\Ls.dsw
Ls\Ls.h
Ls\Ls.ncb
Ls\Ls.opt
Ls\Ls.plg
Ls\Ls.rc
Ls\LsDoc.cpp
Ls\LsDoc.h
Ls\LsView.cpp
Ls\LsView.h
Ls\MainFrm.cpp
Ls\MainFrm.h
Ls\Penc.cpp
Ls\Penc.h
Ls\ReadMe.txt
Ls\res\Ls.ico
Ls\res\Ls.rc2
Ls\res\LsDoc.ico
Ls\res\Toolbar.bmp
Ls\resource.h
Ls\StdAfx.cpp
Ls\StdAfx.h
Ls\res
Ls
Ls\Ellipe.h
Ls\Layer.cpp
Ls\Layer.h
Ls\Line.cpp
Ls\Line.h
Ls\Ls.aps
Ls\Ls.clw
Ls\Ls.cpp
Ls\Ls.dsp
Ls\Ls.dsw
Ls\Ls.h
Ls\Ls.ncb
Ls\Ls.opt
Ls\Ls.plg
Ls\Ls.rc
Ls\LsDoc.cpp
Ls\LsDoc.h
Ls\LsView.cpp
Ls\LsView.h
Ls\MainFrm.cpp
Ls\MainFrm.h
Ls\Penc.cpp
Ls\Penc.h
Ls\ReadMe.txt
Ls\res\Ls.ico
Ls\res\Ls.rc2
Ls\res\LsDoc.ico
Ls\res\Toolbar.bmp
Ls\resource.h
Ls\StdAfx.cpp
Ls\StdAfx.h
Ls\res
Ls