From: David Abrahams (dave_at_[hidden])
Date: 2004-12-22 14:57:00
Reece Dunn wrote:
>> If I were to go to the trouble to create an GUI that rendered
>> diagrams, I'd probably to to the touble to print those diagrams.
>> I'd like to use the same algorithm to render to the screen and
>> to the printer, simply swap out the device context.
> The Microsoft MFC library takes this approach and, IMHO, it is the best
> way to go.
That's okay for simple things, but for any serious printing work you
need to know you're talking to a printer. For example, you may need to
embed postscript in your output stream.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk