Needed: Printing Tutorial for GDI+ screen to Single Page
-
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
-
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
-
If you want tutorials then Google should be your first port of call.[^]. If you have specific technical questions then post here.
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.
-
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.
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[^].
-
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
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[^]