图片旋转(C#)
摘要:
public Bitmap Rotate(Bitmap b, float angle) { angle = angle % 360; //弧度转换 double radian = angle * Math.PI / 180.0; double cos = Math.Cos(radian); double sin = Math.Sin(radian); //原图的宽和高 int w = b.Width; i... 阅读全文
posted @ 2014-01-04 21:33 黑面大生 阅读(267) 评论(0) 推荐(0) 编辑