摘要: GDI+绘制极坐标图、雷达图一个简单的GDI+例子。简单绘制极坐标系,按类似的思路,可以画直角坐标系、对数直角系、外太空银河系……先把最后效果贴出来,觉得不需要的请按Alt+F4。图中曲线是一个天线方向图,非常适合在极坐标下描绘。文中是直接在窗体上绘制,你完全可以自行封装到控件里,这样用起来更加方便。(正文开始)写在前面的话做事情,一切以目标为出发点,倒着找过去,看有哪些方法技术资源,具体的方法技术手段都是次要的,只要能达到目的。我不会多线程,如果你觉得这个直接在UI线程画效率低方法笨,还请自己用多线程改造一遍。(似乎还真有这样ocd的人吧,哈哈)欢迎把改造后的代码回传给我,我会贴在这里。(小 阅读全文
posted @ 2012-07-18 23:58 ppshinebl 阅读(1547) 评论(0) 推荐(0) 编辑
摘要: It provide as Graphics extension methods.with similar syntax as normal MeasureString and DrawString.public static RectangleF[] MeasureString(this Graphics graphics, string s, Font font, Brush brush, TextPathAlign textPathAlign, TextPathPosition textPathPosition, int letterSpace,float rotateDegree, G 阅读全文
posted @ 2012-07-18 16:14 ppshinebl 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: 原文链接: http://www.codeproject.com/Articles/13864/Text-on-Path-with-VB-NETText on Path with VB.NETDownload source project - 25.6 KbDownload demo project - 23.6 KbIntroductionI searched the internet for a long time for some algorithm to display a "Text on a Path", but I only fond theBatik SVG 阅读全文
posted @ 2012-07-18 15:44 ppshinebl 阅读(658) 评论(0) 推荐(0) 编辑