473,386 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Is there a Class, Library or Component to render an image file baseon a tree data structure?

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
Sep 30 '08 #1
2 1255


"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
Sep 30 '08 #2
On Sep 30, 6:17*pm, "Mythran" <Myth...@community.nospamwrote:
"Afshar" <afshar.mohe...@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
AfsharMohebbi

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
Exuse me, I mean I do not use System.Drawing directly. I prefer to
find a solution working with System.Drawing itself. And I just use
that solution instead without worrying about classes in
System.Drawing.

Afshar
Oct 2 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jonathan Wilson | last post by:
I am looking for a C++ class library that can store data in a tree. The class library needs to be: 1.Available under a licence like GPL, LGPL or BSD so I can use it in my GPL program and 2.Usable...
7
by: TJ | last post by:
In C# how do you achieve pass-by-reference property declarations in the Type Library? I am writing a COM Class Library that must mimick an existing library for which the only information is the...
3
by: David Lozzi | last post by:
Howdy, I've discovered how to create and use a class in ASP.NET. However, when is the best time to use a class? For example, I am currently using session variables to store user information (user...
7
by: tshad | last post by:
I have a problem with a VS 2003 project. This project was designed and works fine in VS 2003. But trying to open the project I get the following error....
3
by: Martyn Fewtrell | last post by:
Hi there. First of all let me apologise for this is a somewhat general question to which I would be interested in any opinions. As far as I can see when I create a web application the...
3
by: antred | last post by:
Hello everyone, While working on a program I encountered a situation where I'd construct a largish data structure (a tree) from parsing a host of files and would end up having to throw away...
7
by: Peter Bradley | last post by:
OK. A bit behind the times, I know; but we're just moving over to .NET 2.0. How on earth do you manage configuration settings in a class library in .NET 2.0? In version 1.1, we used a handy class...
9
by: Pep | last post by:
Hi anyone know of a C++ class capable of parsing a XML stream in to elements? I have tried using the xerces class but unfortunately this requires me to do a lot of complex processing to isolate...
2
by: Reggie | last post by:
Hi and TIA! I have a class file located in my root directory with all me web pages. I call/use the class and it works fine. I have no imports statements aspx or codebehind. My question is why? ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.