RE: Print preview?
- Posted by Bernie Ryan <xotron at localnet.com> Jun 05, 2002
- 439 views
Matthew Lewis wrote: > > I don't see why you couldn't do this. You could have multiple pixmaps, > and > use StretchBlt instead of BitBlt. Note that this isn't wrapped in > Win32lib, > but a cursory glance tells me you could probably just copy the bitBlt > routine, changing the C-call to xStretchBlt to resize the image. For > more > info on StretchBlt: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps > > _9cok.asp > Matt: I don't think it would be that simple. You would have to create a bmp in memory the same size as piece of paper and draw everything on it that would appear on the printed page. Then you would have to scale all the pixels to display them properly on the screen. Yipes ! Good Luck. Bernie