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. C#
  4. Draw text on path

Draw text on path

Scheduled Pinned Locked Moved C#
question
3 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.
  • W Offline
    W Offline
    Werdna
    wrote on last edited by
    #1

    Is there an easy way to draw a text on a path? Specifically if I have a curve and I want this text to go along that curve, how can I do that? Thanks.

    H 1 Reply Last reply
    0
    • W Werdna

      Is there an easy way to draw a text on a path? Specifically if I have a curve and I want this text to go along that curve, how can I do that? Thanks.

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Werdna wrote: Is there an easy way to draw a text on a path? No. Lots of calculations and direct font manipulation (if you want to scew fonts) is required. Otherwise, you must trace along the path perpendicular to the normal and draw your fonts with the correct width (of each character, which requires quite a bit of calculations) and space between characters. It's not as easy as it sounds (if you think this sounds easy). Photoshop CS just added text path support. It hadn't had it previously and there were only a few plugins available that provided such functionality. Just as an example.

      Microsoft MVP, Visual C# My Articles

      W 1 Reply Last reply
      0
      • H Heath Stewart

        Werdna wrote: Is there an easy way to draw a text on a path? No. Lots of calculations and direct font manipulation (if you want to scew fonts) is required. Otherwise, you must trace along the path perpendicular to the normal and draw your fonts with the correct width (of each character, which requires quite a bit of calculations) and space between characters. It's not as easy as it sounds (if you think this sounds easy). Photoshop CS just added text path support. It hadn't had it previously and there were only a few plugins available that provided such functionality. Just as an example.

        Microsoft MVP, Visual C# My Articles

        W Offline
        W Offline
        Werdna
        wrote on last edited by
        #3

        Thanks. That's what I thought. I got it to work on drawing on ellipse by using some math. It was a pain. Had to brush up on my trig.

        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