whisht

    十年

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

2013年5月2日

摘要: public static Bitmap RotateImage(Image image, int iw, int ih, float angle, out Point[] points) { if (image == null) throw new ArgumentNullException("image"); const double pi2 = Math.PI / 2.0; // Why can't C# allow these to be cons... 阅读全文
posted @ 2013-05-02 11:39 WHISHT 阅读(209) 评论(0) 推荐(0) 编辑

摘要: /// <summary> /// Creates a new Image containing the same image only rotated /// </summary> /// <param name="image">The <see cref="System.Drawing.Image"/> to rotate</param> /// <param name="angle">The amount to rotate the image, clock 阅读全文
posted @ 2013-05-02 11:37 WHISHT 阅读(333) 评论(0) 推荐(0) 编辑

摘要: /// <summary> /// 处理图片透明操作 /// </summary> /// <param name="srcImage">原始图片</param> /// <param name="opacity">透明度(0.0---1.0)</param> /// <returns></returns> private Image TransparentImage(Image srcImage, float opacity) { float[][] nAr 阅读全文
posted @ 2013-05-02 11:33 WHISHT 阅读(4325) 评论(0) 推荐(1) 编辑