用GDI+和面向对象设计方法构建交互式图形平台
Using GDI+ and Object-Oriented Design to Architecture Interactive Graphics Platform
-
摘要: 提出了一个GDI+和设计模式相结合的设计方案.首先介绍一种分层式文档-视图框架.在此框架基础上, 分析几种重要交互功能如图元组合、undo/redo、图面缩放及橡皮筋线的设计过程.使用结果表明, 构建的平台满足交互功能需求, 并具有良好的可复用性.Abstract: We propose a platform built by GDI+ and design patterns.Firstly, a hierarchical document-view framework is introduced.Then, we analyze the design process of important interactive features which are composite of graphics element, undo/redo, zoomin/out and rubber line.The results show that platform is meet the needs of interactive features and has good reusability.