博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年7月14日

摘要: C#实现Windows图片查看器的旋转功能: private const string IMAGEFILE = "FocusPoint.JPG"; private static int MyAngle = 0; //旋转角度[-360,360] private void Pa... 阅读全文

posted @ 2010-07-14 00:51 烈火123 阅读(477) 评论(0) 推荐(0) 编辑

摘要: 实现任意角度旋转图像主要使用Graphics类提供的RotateTransform()方法。代码如下: private void button1_Click(objectsender,EventArgse) { //以任意角度旋转显示图像 Graphics g=this.panel1.Cr... 阅读全文

posted @ 2010-07-14 00:49 烈火123 阅读(381) 评论(0) 推荐(0) 编辑