
22 Dec
2004
22 Dec
'04
7:57 p.m.
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