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. General Programming
  3. WPF
  4. WPF path data converter

WPF path data converter

Scheduled Pinned Locked Moved WPF
wpfquestioncsharpgraphicshelp
5 Posts 2 Posters 0 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.
  • S Offline
    S Offline
    Saksida Bojan
    wrote on last edited by
    #1

    Curently i have downloaded expression blend trial to see what i do. I have made simple triangle.

    So my question is, is there a tool that can convert StreamPathGeomtry (Path.Data) into a normal XAML graphic no matter how complex is? I want to see how complex graphics works. I appreciate any help. PS: Do not convert this for me.

    S 1 Reply Last reply
    0
    • S Saksida Bojan

      Curently i have downloaded expression blend trial to see what i do. I have made simple triangle.

      So my question is, is there a tool that can convert StreamPathGeomtry (Path.Data) into a normal XAML graphic no matter how complex is? I want to see how complex graphics works. I appreciate any help. PS: Do not convert this for me.

      S Offline
      S Offline
      SledgeHammer01
      wrote on last edited by
      #2

      You mean convert the path into a bunch of line segments? Not sure why you want to do that. Thats the whole point of paths. By the way, that IS a "normal XAML graphic"... Paths have nothing to do with Expression Blend, they are standard WPF objects.

      S 1 Reply Last reply
      0
      • S SledgeHammer01

        You mean convert the path into a bunch of line segments? Not sure why you want to do that. Thats the whole point of paths. By the way, that IS a "normal XAML graphic"... Paths have nothing to do with Expression Blend, they are standard WPF objects.

        S Offline
        S Offline
        Saksida Bojan
        wrote on last edited by
        #3

        SledgeHammer01 wrote:

        You mean convert the path into a bunch of line segments?

        That is what i meant. I know it doesn't have anything with blend.

        SledgeHammer01 wrote:

        By the way, that IS a "normal XAML graphic"... Paths have nothing to do with Expression Blend

        I didn't knew how to express it

        SledgeHammer01 wrote:

        Not sure why you want to do that.

        I may not be able to use Bleend in the future but i want to see how complex graphic comes together.

        S 1 Reply Last reply
        0
        • S Saksida Bojan

          SledgeHammer01 wrote:

          You mean convert the path into a bunch of line segments?

          That is what i meant. I know it doesn't have anything with blend.

          SledgeHammer01 wrote:

          By the way, that IS a "normal XAML graphic"... Paths have nothing to do with Expression Blend

          I didn't knew how to express it

          SledgeHammer01 wrote:

          Not sure why you want to do that.

          I may not be able to use Bleend in the future but i want to see how complex graphic comes together.

          S Offline
          S Offline
          SledgeHammer01
          wrote on last edited by
          #4

          Ok, well, I don't think anybody really works directly with the path syntax itself because it can get pretty complicated. REALLY complex (by complex, I don't mean a triangle, I mean something along the lines of the Silverlight 5 muscle-man demo) graphics aren't a single primitive. They are thousands of primitives. I forgot the name of the user on here, but there is a guy on here that has put up 4 or 5 demos of complex WPF graphics. Anyways, if you really want to learn the syntax itself (waste of time IMO since the visual tools do it for you :)), check here: http://msdn.microsoft.com/en-us/library/ms752293.aspx[^]

          S 1 Reply Last reply
          0
          • S SledgeHammer01

            Ok, well, I don't think anybody really works directly with the path syntax itself because it can get pretty complicated. REALLY complex (by complex, I don't mean a triangle, I mean something along the lines of the Silverlight 5 muscle-man demo) graphics aren't a single primitive. They are thousands of primitives. I forgot the name of the user on here, but there is a guy on here that has put up 4 or 5 demos of complex WPF graphics. Anyways, if you really want to learn the syntax itself (waste of time IMO since the visual tools do it for you :)), check here: http://msdn.microsoft.com/en-us/library/ms752293.aspx[^]

            S Offline
            S Offline
            Saksida Bojan
            wrote on last edited by
            #5

            thanks, thats the info i was looking for.

            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