[Win32Lib] stretchBlt a virtual window to Printer?
- Posted by DanM Jan 26, 2009
- 1038 views
I have a number of "grids" with subsequent data drawn onto a virtual window, (for scrolling purposes), and I want to print the same grid/data.
I'd thought originally to "generalize" my display routine to encompass writing either to virtual window/screen or to printer, but it occurred to me that since I'd already written to a virtual window, maybe I could just stretchBlt that to the printer. (Watching page lengths so the grids don't get partly printed on two different pages, of course.)
Is that approach doable? If so, any hints toward accomplishing that would be appreciated!
And from somewhere I vaguely remember some necessity to deal in some way with a difference in size between screen pixels and print pixels. How would I do that?
Dan