如何使用GDI +调整大小和旋转绘制的矩形. [英] How to Resize and Rotate a drawn Rectangle using GDI+.

查看:357
本文介绍了如何使用GDI +调整大小和旋转绘制的矩形.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想选择一个矩形.选择之后,我应该可以调整大小并旋转它.
旋转后,我应该重新调整旋转矩形的大小....

我可以在旋转角度为零度时重新调整大小,但是在调整大小时遇到​​问题
一个旋转的矩形.

MS Power Point中提供了类似的功能,在其中插入图像或
我可以调整大小或旋转形状.

I want to select a rectangle.After selecting I should able to re-size and rotate it.
After rotating I should re-size rotated rectangle....

I able to re-size when rotation angle is zero degree but facing problem when resizing
a rotated rectangle.

Similar functionality is there in MS Power Point where after inserting a image or
shape I can re-size or rotate the shape.

推荐答案

这可能会有所帮助
在单个Document MFC项目中使用GDI +来旋转,缩放和约束图像 [ ^ ]
This might be of some help
Using GDI+ in a Single Document MFC Project to Rotate, Zoom, and Constraint an Image[^]


这篇关于如何使用GDI +调整大小和旋转绘制的矩形.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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