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. Graphics
  4. Needed: Printing Tutorial for GDI+ screen to Single Page

Needed: Printing Tutorial for GDI+ screen to Single Page

Scheduled Pinned Locked Moved Graphics
graphicsc++winformstutorial
5 Posts 2 Posters 5 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.
  • A Offline
    A Offline
    Austin_Cpp
    wrote on last edited by
    #1

    I am using C++ and GDI+. I am drawing 2D diagrams. I am using the standard lines, ellipse, rotation transformations and Fonts. I need to scale the print so the screen image fills a single page. I need to avoid pixilation, the print should retain the curved lines and curves in the font. The GDI+ print tutorials I am finding are very basic. Can someone point me to a GDI+ printing tutorial that shows this type of scaled printing. Thanks Larry

    L 2 Replies Last reply
    0
    • A Austin_Cpp

      I am using C++ and GDI+. I am drawing 2D diagrams. I am using the standard lines, ellipse, rotation transformations and Fonts. I need to scale the print so the screen image fills a single page. I need to avoid pixilation, the print should retain the curved lines and curves in the font. The GDI+ print tutorials I am finding are very basic. Can someone point me to a GDI+ printing tutorial that shows this type of scaled printing. Thanks Larry

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      If you want tutorials then Google should be your first port of call.[^]. If you have specific technical questions then post here.

      A 1 Reply Last reply
      0
      • L Lost User

        If you want tutorials then Google should be your first port of call.[^]. If you have specific technical questions then post here.

        A Offline
        A Offline
        Austin_Cpp
        wrote on last edited by
        #3

        I have been surprised how difficult it is to print a GDI+ screen as a rescaled fit-to-page. I will go back to google but I have not yet found any c++ code to do this.

        L 1 Reply Last reply
        0
        • A Austin_Cpp

          I have been surprised how difficult it is to print a GDI+ screen as a rescaled fit-to-page. I will go back to google but I have not yet found any c++ code to do this.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Member 10853121 wrote:

          I have been surprised how difficult it is

          You don't explain what your problem is so it's impossible to make any suggestions. Google provides lots of hits including https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=print%20gdi%2B[^].

          1 Reply Last reply
          0
          • A Austin_Cpp

            I am using C++ and GDI+. I am drawing 2D diagrams. I am using the standard lines, ellipse, rotation transformations and Fonts. I need to scale the print so the screen image fills a single page. I need to avoid pixilation, the print should retain the curved lines and curves in the font. The GDI+ print tutorials I am finding are very basic. Can someone point me to a GDI+ printing tutorial that shows this type of scaled printing. Thanks Larry

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Member 10853121 wrote:

            I need to avoid pixilation, the print should retain the curved lines and curves in the font.

            If you scale/zoom, then you will have pixelation. You could throw in a smoothing-effect, but that would simply blur them pixels. If you don't want pixelation, draw the image again. Adjust coordinates to match the desired size.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

            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