读书人

怎么实现数据扩大显示

发布时间: 2013-09-06 10:17:17 作者: rapoo

如何实现数据扩大显示
我想通过vc实现坐标轴上的数据部分扩大的功能 能给点建议或者思路吗。。。。
我的数据是显示在一个二维坐标系下的 。。。但由于数据量较大,很多像素点事重合的 我想通过鼠标拖动实现
部分放大。。。。 VC 数据放大
[解决办法]
Coordinate Space and Transformation Functions
The following functions are used with coordinate spaces and transformations.



ClientToScreen
CombineTransform
DPtoLP
GetCurrentPositionEx
GetGraphicsMode
GetMapMode
GetViewportExtEx
GetViewportOrgEx
GetWindowExtEx
GetWindowOrgEx
GetWorldTransform
LPtoDP
MapWindowPoints
ModifyWorldTransform
OffsetViewportOrgEx
OffsetWindowOrgEx
ScaleViewportExtEx
ScaleWindowExtEx
ScreenToClient
SetGraphicsMode
SetMapMode
SetViewportExtEx
SetViewportOrgEx
SetWindowExtEx
SetWindowOrgEx
SetWorldTransform




[解决办法]
这种东西一般都有一个屏幕坐标和实际数据的映射关系,比如你数据中的,1,2表示的单位可以是相差一个像素,也可以相差n个像素,如果相差1个像素重叠在一起,那就变为n个像素,总之就是变大这种关系就是你说的“放大”了

读书人网 >C++

热点推荐