"Afshar" <af************@gmail.comwrote in message
news:4d**********************************@d1g2000h sg.googlegroups.com...
Hi there,
I have a data structure that I can use it to fill a tree control. And
now I want to create an bmp or jpg image file to show this tree.
Notice:
1. I want to do this in a library that doesn't access to any UI like
Windows or Web.
2. I prefer not use GDI+ and System.Draw and beginning from scratch by
rendering each line or object!
Thanks in Advance
Afshar Mohebbi
1.) Well, you don't need a System.Windows.Forms or System.Web reference for
drawing.
2.) How do you want to draw without GDI+ or System.Drawing? You can't even
access a bmp or jpg without System.Drawing unless you go with pure PInvoke
(API calls) and handle all the data structures yourself (which is what
System.Drawing does btw, it basically wraps all that gritty stuff behind the
scenes and makes it easier to use via simpler managed calls).
HTH,
Mythran