Location:
Search - YGauge.d
Search list
Description: 编写图形相关的控件需要完成两部分:1 绘制;2 与窗口类(泛指)集成使之成为控件。本文重点在于“绘制”部分,提出一个较灵活的框架。用VC的GDI+实现框架,并在Demo中简单封装成圆表和直表控件。图一是要实现的目标(圆表、直表等仪表,指示灯,图表,旋钮,滑块等),由这些目标,经需求分析后,设计出框架。-related to the preparation of graphical controls need to complete two parts : a rendering; 2 and the window class (refers to) be integrated so that it controls. This paper focused on "mapping" part of a more flexible framework. VC framework for the realization of GDI and the Demo simple Packaging into round table and direct control table. First, the plan to achieve the goals (round table, and so on straight appearance, light, charts, knob, slider, etc.), these goals, After demand analysis, design framework.
Platform: |
Size: 413696 |
Author: |
Hits: