RE: Print preview?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu