Of paths and arcs
Clever Code
1
Posts
1
Posters
1
Views
1
Watching
-
I'm developing a network app, part of the app is allow objects to be drawn on a visio style grid. I was using a wmf for drawing a network cloud. To improve drawing I reengineered this into an custom object comprising of Arcs. I painted the arcs anticlockwise until I had the desired shape. Then I begin create a path to hold the arcs finally closing the figure so I could draw,fill rotate etc, thats when the problems started. The disired output was a jumble mess of lines, whilst experimenting with just a few arcs I realized it was the order of drawing, I'd failed to add each arc in a clockwise order, once this was done bingo I had a perfect network cloud object!
.net is a box of never ending treasures, every day I get find another gem.