Hi,
"Status Malus" <st***************@hotmail.com> wrote in message
news:Br*******************@fe3.columbus.rr.com...
I'm working on a project that requires drawing binary trees, graphs and
modular layouts. The user needs to have the ability to output these
drawings to a file. A lot of the application has already been developed using MFC.
I don't have much experience with graphics programming so if anyone could
point me in a direction to get started (books, websites, etc.) That would
be great.
TIA
Why not use the standard GDI calls. Should be good enough for drawing lines
circles etc.
Any windows programming book would do for instance charles petzold's
"programming windows".
To save it you can use you can write to the device context and save it as
WMF file or you can use the CreateDIBSection function to write to a bitmap
that is made from you own off screen buffer. You can then use GDI calls to
draw to it and save it as a bitmap or use pnglib or the jpeg library to save
it as png or jpeg file.
Regards, Ron AF Greve.