2009年11月16日

Why Most Popular JavaScript libraries doesn’t support XML with namespaces?

摘要: http://mpathirage.com/why-most-popular-javascript-libraries-doesnt-support-xml-with-namespaces/ 阅读全文

posted @ 2009-11-16 00:27 cutepig 阅读(151) 评论(0) 推荐(0) 编辑

扫描线--通用多边形填充算法

摘要: 扫描线--通用多边形填充算法该算法有几个可学习的地方:(1)正负1思想(2)对边界条件的处理(3)数据结构的选择code:sweep.h#ifndef SWEEP_H#define SWEEP_Hstruct Edge { int nxty; int curx; int dx, dy; // 所在扫描线的增量 Edge *nxt;};//扫描线主算法void sweep(int p[][2], i... 阅读全文

posted @ 2009-11-16 00:11 cutepig 阅读(4178) 评论(0) 推荐(0) 编辑

导航