如何实现当前鼠标点缩放图形 [英] How to achieve the current mouse point scaling graphics
本文介绍了如何实现当前鼠标点缩放图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如标题,我已经知道图形在画布中心的缩放比例,但是现在想以鼠标为中心进行缩放,不知道如何实现.请专家指导
Such as the title, I already know the scale the graphic in the center of the canvas, but now want to mouse-centric zoom, do not know how to achieve. Please expert guidance
推荐答案
不清楚,但您可以尝试此链接
http://stackoverflow.com/questions/4277253/c-why-does-this-not-zoom-using-the-mouse-as-center [
Don''t know exactly but you may try this link
http://stackoverflow.com/questions/4277253/c-why-does-this-not-zoom-using-the-mouse-as-center[^]
这篇关于如何实现当前鼠标点缩放图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文