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 / C++ / MFC
  4. GDI & Image Processing

GDI & Image Processing

Scheduled Pinned Locked Moved C / C++ / MFC
comgraphicsdesigndata-structures
3 Posts 3 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.
  • K Offline
    K Offline
    KienNT78
    wrote on last edited by
    #1

    Dear all, I design a chart view to show like in the link below: http://www.photoupload.org/image/3798.jpeg My solution is used an array that hold all points and used MoveTo() and LineTo() funtions to draw. But I need line is more smooth than now and I want to ask about solution to do I try to study http://www.codeproject.com/gdi/CTGraphics.asp but I didn't understand much! Thanks

    CPalliniC N 2 Replies Last reply
    0
    • K KienNT78

      Dear all, I design a chart view to show like in the link below: http://www.photoupload.org/image/3798.jpeg My solution is used an array that hold all points and used MoveTo() and LineTo() funtions to draw. But I need line is more smooth than now and I want to ask about solution to do I try to study http://www.codeproject.com/gdi/CTGraphics.asp but I didn't understand much! Thanks

      CPalliniC Online
      CPalliniC Online
      CPallini
      wrote on last edited by
      #2

      You can also use GDI+ to perform anti-aliasing. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • K KienNT78

        Dear all, I design a chart view to show like in the link below: http://www.photoupload.org/image/3798.jpeg My solution is used an array that hold all points and used MoveTo() and LineTo() funtions to draw. But I need line is more smooth than now and I want to ask about solution to do I try to study http://www.codeproject.com/gdi/CTGraphics.asp but I didn't understand much! Thanks

        N Offline
        N Offline
        Nelek
        wrote on last edited by
        #3

        To draw the line in the screen you need at least one pixel, other thing is the meaning in size of that pixel (according to the MAPMODE). Take a look with CreatePen and similars, you can configure the width, and selecting the object in the DC, you will use the configuration you need/want

        Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

        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