C++/MFC Graphics



 DEVELOP > c-Plus-Plus > C++/MFC Graphics

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Status Malus"
Date: 20 Dec 2003 02:08:01 AM
Object: C++/MFC Graphics
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
.

User: "Moonlit"

Title: Re: C++/MFC Graphics OT 20 Dec 2003 09:15:06 AM
Hi,
"Status Malus" <statusmalusNOSPAM@hotmail.com> wrote in message
news:BrTEb.23635$031.19683@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.
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER