每天进步一点点

---2014-11-14---

一、GIS像元格转点,从左上角移到中间

1 Point point = new Point(m, n);
2 Point2D sourcePoint = grid.GridToXY(point);
3 sourcePoint.X = sourcePoint.X + this.dpi / 2;
4 sourcePoint.Y = sourcePoint.Y - this.dpi / 2;

 

posted @ 2014-11-14 17:13  AllanHao  阅读(134)  评论(0编辑  收藏  举报