hopeless

导航

2009年8月3日

8,16,32 crc校验

摘要: #region CRC8 /// <summary> /// CRC8 µŕªҪ˵ķ¡£ /// </summary> public class CRC8 : ICRC { #region CRC 8 λУҩ±닊 /// <summary> /// CRC 8 λУҩ±닊 /// &... 阅读全文

posted @ 2009-08-03 12:16 hopeless 阅读(353) 评论(0) 推荐(0) 编辑

c#凸多边形算法学习

摘要: #region 凸多边形选择 /********************************************** 寻找凸包的graham 扫描法 PointFSet为输入的点集; ch为输出的凸包上的点集,按照逆时针方向排列; n为PointFSet中的点的数目 len为输出的凸包上的点的个数 ****************************************... 阅读全文

posted @ 2009-08-03 11:58 hopeless 阅读(1394) 评论(0) 推荐(0) 编辑

打印winform界面

摘要: [System.Runtime.InteropServices.DllImport("gdi32.dll")] public static extern long BitBlt(IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, int dwRop... 阅读全文

posted @ 2009-08-03 11:56 hopeless 阅读(763) 评论(1) 推荐(0) 编辑