如何在图形中添加放大镜窗口? [英] How to add a magnifier window in graph ?

查看:109
本文介绍了如何在图形中添加放大镜窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我想在已经存在的图形视图中开发一个放大镜窗口.

问题:
该图包含某些组件的符号,有时这些符号的数量如此之大,以至于我无法通过简单的滚动查看它们,如果我想同时查看所有这些符号,则必须缩小窗口,方法是:符号的大小变得如此之小,以至于我看不到它.

要求:
要查看它们(符号),我想开发一个放大镜窗口,因此它将把该部分放大到我要查看组件的位置.

类似的示例(工作示例)
在Adobe Reader中,我们在左侧显示了所有页面的缩略图,在这里,我们有一个放大镜窗口,我们也可以调整其大小.

请帮帮我,我的应用程序已在MFC中构建,并且我正在为此图表窗口使用csrollview类.

Hello,

I want to develop a magnifier window in my already existing graph view.

Problem:
The graph contains symbols of some component , sometimes the symbols are so large in quantity so i cant view them in a simple scroll, and if i want to see them all at a same time i have to zoom out the window,by doing that the size of symbols become so small that i cant view than easily.

Requirement:
To view them(symbols) i want to develop a magnifier window, so it will zoom that part where i want to see the component.

Similar example (Working example)
In adobe reader we have a thumbnail view of all pages on left side, here we have a magnifier window which we can re-size also.

please help me out , my application has build in MFC , and i am using csrollview class for this graph window.

推荐答案

您知道,明智地使用 StretchBlt函数 [
You know, a wisely use of StretchBlt Function[^] would do the job.


这篇关于如何在图形中添加放大镜窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆