| View previous topic :: View next topic |
| Author |
Message |
vivekian Guest
|
Posted: Tue Nov 29, 2005 10:23 pm Post subject: C++ interface to a graphics package ? |
|
|
Writing a small scheduler where the output will be the tasks scheduled
-- resulting in a Gantt Chart. Wondering if there is an API or some
sort of interface available for passing the result to a graphics
package like DIA and let it show the result ? or should i rather stick
to some graphics library ? Would like to keep the amount of coding
small and not sure what to do .
Thanks,
vivekian
|
|
| Back to top |
|
 |
Divick Guest
|
Posted: Tue Nov 29, 2005 11:38 pm Post subject: Re: C++ interface to a graphics package ? |
|
|
I am not very clear of your requirements , you have not mentioned what
language do you want to code in? But still ...
you could use OpenGL to display it as graphics. Since you only need to
display it as 2D, it is pretty simple. you can check out some site for
OpenGL tutorial and then use the code. Its just that it will take some
time to understand the OpenGL basics (if you really care, otherwise you
can just use cut/copy/paste with a very high level understanding).
Other option would be to use some 2D vector drawing library like
graphviz or someting. Try google and you will get hundreds of libraries
to achieve what you want.
Hope that helps,
Divick
|
|
| Back to top |
|
 |
vivekian Guest
|
Posted: Wed Nov 30, 2005 12:51 am Post subject: Re: C++ interface to a graphics package ? |
|
|
Divick wrote :
| Quote: | I am not very clear of your requirements , you have not mentioned what
language do you want to code in? But still ...
|
Coding in C++. Looking for something basic. Its just a time line and
boxes on top of it. Just that would like to avoid some hard work as
running short of time :)
vivekian
|
|
| Back to top |
|
 |
|