Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Clever Code
  4. Of paths and arcs

Of paths and arcs

Scheduled Pinned Locked Moved Clever Code
csharprubycssgraphicssysadmin
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NormDroid
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups