﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>A1VBCode Forums / Visual Basic .NET / .NET Programming  / I have a problem drawing dotted path lines, with evenly spaced dots / Latest Posts</title><generator>InstantForum.NET v4.1.1</generator><description>A1VBCode Forums</description><link>http://www.a1vbcode.com/vbforums/</link><webMaster>forums@a1vbcode.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 19:41:26 GMT</lastBuildDate><ttl>20</ttl><item><title>I have a problem drawing dotted path lines, with evenly spaced dots</title><link>http://www.a1vbcode.com/vbforums/Topic31384-9-1.aspx</link><description>I have a problem drawing dotted path lines, with evenly spaced dots:&lt;br&gt;&lt;br&gt;Can anyone please help with this problem, I want to be able to draw evenly spaced dots along a path line using points in an array, My issue is not with drawing the path line, with dotted lines, this is easy, but with the spacing of the dots at the start and end of the path line.&lt;br&gt;&lt;br&gt;In the example I have created, I create a square with 4 points and draw a dotted path.&lt;br&gt;&lt;br&gt;The path starts at the top left corner and finishes back at the top left corner, the dots are evenly placed along the path, except the final dots at the end of the path. (Sometimes the dots are even and other times they are not even).&lt;br&gt;&lt;br&gt;The shapes I want to draw can be any size and any shape, but I have used a square in this example to show the problem I have.&lt;br&gt;&lt;br&gt;Can anyone please help me to draw the dots and give the impression that they are even all along the path, for all shapes and sizes.&lt;br&gt;&lt;br&gt;I have attached an example project or you can download from here:&lt;br&gt;http://craftysams.co.uk/ItemImages/Website_Craft_Images/dottedline.zip&lt;br&gt;[url=http://craftysams.co.uk/ItemImages/Website_Craft_Images/dottedline.zip][/url]&lt;br&gt;&lt;br&gt;I have also attached two pictures showing the dotted path line, 1 with even spaced dots at the start / End and another showing the problem I want to resolve, with not evenly spaced dots at the start / end.&lt;br&gt;&lt;br&gt;The only difference between the two is the point values.&lt;br&gt;&lt;br&gt;Good: This picture shows a path line that has dots that look even, this is what I want to achieve on all path lines I draw of any size and shape, if you cannot see picture download from here: http://craftysams.co.uk/ItemImages/Website_Craft_Images/good.jpg&lt;br&gt;&lt;br&gt; &lt;img src=" http://craftysams.co.uk/ItemImages/Website_Craft_Images/good.jpg"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Bad: This picture shows a path line that has dots that clash at the start and end of the path line – THIS IS THE PROBLEM I WANT TO RESOLVE, if you cannot see picture download from here: http://craftysams.co.uk/ItemImages/Website_Craft_Images/bad.jpg&lt;br&gt;&lt;br&gt;&lt;img src=" http://craftysams.co.uk/ItemImages/Website_Craft_Images/bad.jpg"&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;Any help much appreciated&lt;br&gt;&lt;br&gt;I have written the example in vb.net, but I am happy for a resolution in either vb.net or c#.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;</description><pubDate>Sun, 22 Apr 2012 04:59:30 GMT</pubDate><dc:creator>coolpjmartin</dc:creator></item></channel></rss>