随笔 - 833  文章 - 1  评论 - 106  阅读 - 199万
07 2006 档案
怎样在vc6.0中使用gd库函数gdImageGif 或gdImagePng 输出到磁盘文件中
摘要:在vc6.0中使用gd库遇到的问题:调用BGD_DECLARE(void) gdImageGif (gdImagePtr im, FILE * out);BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out);等与FILE*相关的函数时就会出错。原因:在http://www.boutell.com/gd/faq.html中有一句becaus... 阅读全文
posted @ 2006-07-22 16:32 3D入魔 阅读(1007) 评论(0) 推荐(0) 编辑
mapserver-4.8.3 的readme.win32的中文翻译文件
摘要:--------------------------------------------------------------------README.WIN32 - Microsoft Visual C++ Build instructions for MapServer----------------------------------------------------------------... 阅读全文
posted @ 2006-07-20 22:23 3D入魔 阅读(878) 评论(0) 推荐(0) 编辑
新发现判断一个点在多边形的最高效率算法 推荐******
摘要://////////////////////////////////////////////////////////////////计算点是否在多边形内int msIntersectPointPolygon(pointObj *point, shapeObj *poly){//主函数1-在 0-不在 int i; int status=MS_FALSE; for(i=0; inumlines; i... 阅读全文
posted @ 2006-07-18 20:08 3D入魔 阅读(586) 评论(0) 推荐(0) 编辑
点到直线的距离算法-来源于mapserver(目前所知效率最高的) 推荐*****
摘要:double msDistancePointToSegment(pointObj *p, pointObj *a, pointObj *b){//计算点到线段(a,b)的距离 double l; /* length of line ab */ double r,s; l = msDistancePointToPoint(a,b); if(l == 0.0) /* a = b */ ... 阅读全文
posted @ 2006-07-18 20:04 3D入魔 阅读(2265) 评论(0) 推荐(0) 编辑
mapserver4.8.3艰难的编译过程!不保证看得懂喔
摘要:支持库编译:要求在vc7的release下编译生成1.freetype 的freetype221.lib在vc7下面编译成功 - release版本方法:调用builds->win32->visualc下的工程文件编译生成输出位置在objs 、objs\relese下2.gd-2.0.33 在Dos下运行运行makemsvcimport.bat可生成bgd.lib -通过3.gdal gdal.l... 阅读全文
posted @ 2006-07-18 07:56 3D入魔 阅读(1540) 评论(3) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示