文件名称:MyGraphic
介绍说明--下载内容均来自于网络,请自行研究使用
加入新图形的步骤
1、在GraphRecord单元 定义结构体
2、在MyGraph单元的集合体(TClassGraph)中 加入该图形
3、MyGraph单元的private声明该图形的链表,Create中创建,Destory中释放
4、MouseUp事件中加入链表
5、MouseMove事件中移动图形
6、DrawGraph过程中加入画图
7、Clear 加入清空
8、preDel过程
9、preFill过程
10、preMove过程
11、SaveToFile过程
12、LoadFromFile过程-Add new graphics Step 1, the definition of structure in the GraphRecord unit 2, a collection of units in MyGraph (TClassGraph) added to the graph 3, MyGraph unit private statements of the graphics list, Create to create, Destory release 4, MouseUp add event list 5, MouseMove event of mobile graphics 6, DrawGraph the process of adding paint 7, Clear adding empty 8, preDel process 9, preFill process 10, preMove process 11, SaveToFile process 12, LoadFromFile process
1、在GraphRecord单元 定义结构体
2、在MyGraph单元的集合体(TClassGraph)中 加入该图形
3、MyGraph单元的private声明该图形的链表,Create中创建,Destory中释放
4、MouseUp事件中加入链表
5、MouseMove事件中移动图形
6、DrawGraph过程中加入画图
7、Clear 加入清空
8、preDel过程
9、preFill过程
10、preMove过程
11、SaveToFile过程
12、LoadFromFile过程-Add new graphics Step 1, the definition of structure in the GraphRecord unit 2, a collection of units in MyGraph (TClassGraph) added to the graph 3, MyGraph unit private statements of the graphics list, Create to create, Destory release 4, MouseUp add event list 5, MouseMove event of mobile graphics 6, DrawGraph the process of adding paint 7, Clear adding empty 8, preDel process 9, preFill process 10, preMove process 11, SaveToFile process 12, LoadFromFile process
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MyGraphic\Dlist.dcu
.........\Dlist.pas
.........\Graph.cfg
.........\Graph.dcu
.........\Graph.dfm
.........\Graph.dof
.........\Graph.dpk
.........\Graph.pas
.........\Graph.res
.........\GraphConst.dcu
.........\GraphConst.pas
.........\Graphic.cfg
.........\Graphic.dfm
.........\Graphic.dof
.........\Graphic.dpr
.........\Graphic.exe
.........\Graphic.pas
.........\Graphic.res
.........\GraphRecord.dcu
.........\GraphRecord.pas
.........\MyGraph.dcu
.........\My_Graphic.cfg
.........\My_Graphic.dof
.........\My_Graphic.dpr
.........\My_Graphic.res
.........\PasSetCircle.dcu
.........\PasSetCircle.dfm
.........\PasSetCircle.pas
.........\PasSetEllips.dfm
.........\PasSetEllips.pas
.........\pasSetLine.dcu
.........\pasSetLine.dfm
.........\pasSetLine.pas
.........\PasSetRect.dcu
.........\PasSetRect.dfm
.........\PasSetRect.pas
.........\PasWrokSpace.dcu
.........\PasWrokSpace.dfm
.........\PasWrokSpace.pas
.........\readme.txt
.........\Unit2.dfm
.........\Unit2.pas
.........\使用说明.txt
.........\加入新图形的步骤.txt
.........\源码天空.htm
.........\Iamge\main.jpg
.........\.....\Thumbs.db
.........\Iamge
MyGraphic
.........\Dlist.pas
.........\Graph.cfg
.........\Graph.dcu
.........\Graph.dfm
.........\Graph.dof
.........\Graph.dpk
.........\Graph.pas
.........\Graph.res
.........\GraphConst.dcu
.........\GraphConst.pas
.........\Graphic.cfg
.........\Graphic.dfm
.........\Graphic.dof
.........\Graphic.dpr
.........\Graphic.exe
.........\Graphic.pas
.........\Graphic.res
.........\GraphRecord.dcu
.........\GraphRecord.pas
.........\MyGraph.dcu
.........\My_Graphic.cfg
.........\My_Graphic.dof
.........\My_Graphic.dpr
.........\My_Graphic.res
.........\PasSetCircle.dcu
.........\PasSetCircle.dfm
.........\PasSetCircle.pas
.........\PasSetEllips.dfm
.........\PasSetEllips.pas
.........\pasSetLine.dcu
.........\pasSetLine.dfm
.........\pasSetLine.pas
.........\PasSetRect.dcu
.........\PasSetRect.dfm
.........\PasSetRect.pas
.........\PasWrokSpace.dcu
.........\PasWrokSpace.dfm
.........\PasWrokSpace.pas
.........\readme.txt
.........\Unit2.dfm
.........\Unit2.pas
.........\使用说明.txt
.........\加入新图形的步骤.txt
.........\源码天空.htm
.........\Iamge\main.jpg
.........\.....\Thumbs.db
.........\Iamge
MyGraphic