-
Ls
说明: 如何编图形软件开发程序,画图过程的显示,图像分层显示
图层软件架构:
大型图形软件通用的架构,是用一个抽象类(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.)
- 2017-06-12 23:32:17下载
- 积分:1
-
sesource
Cbuild操作西门子tc35模块的源码,可以控制短信芯片,进行收发操作和端口操作,()
- 2018-02-03 12:58:53下载
- 积分:1
-
ping
用rawsocket实现简单的ping程序(Rawsocket with simple ping program)
- 2009-04-10 08:01:58下载
- 积分:1
-
TableTree
说明: tabletree,树状的表格,可伸展,有父子关系(tabletree, table in the treeview)
- 2009-08-17 17:57:15下载
- 积分:1
-
MsAgentsrc
微软的ms_agent,实现了类似瑞星小狮子的功能,可以实现语音,文字,动作的特级效果(Microsoft ms_agent, Ruixing realize a similar function of a small lion, you can realize voice, text, special effects action)
- 2008-02-19 09:48:06下载
- 积分:1
-
2019..4.7小车程序
说明: 基于51单片机最小系统开发板的寻迹小车寻迹代码。(Tracking car tracking code.)
- 2020-06-22 02:20:01下载
- 积分:1
-
spra701
介绍TI的PMSM电机控制系统,各种控制模型(describe the system of PMSM control)
- 2011-05-23 20:01:38下载
- 积分:1
-
AK8975驱动
AK8975驱动 用于嵌入式设备。简单移植后可用(driver for ak8975
)
- 2020-07-19 19:38:48下载
- 积分:1
-
mzbedla
简单soket cs通讯示例 采用VC语言,也通过运行,有算法简介,,(The simple soket cs communication example uses the VC language, also through the running, has the algorithm brief introduction,)
- 2018-12-01 23:58:12下载
- 积分:1
-
lab23-SCIC
PWM算法实现,可作为逆变单元的驱动设计,非常的方便。(PWM algorithm can be used as a drive inverter unit design, very convenient.)
- 2013-06-02 17:56:42下载
- 积分:1