I'm writing a program where I draw a graph (well, I plan to draw a graph ). I'm using GTK+ 2.0 and was planning on having the graph as a sort of control, but what's the best way to draw the graph? There doesn't seem to be any sort of bitmap controls in GTK+ like in Windows (where I'd just use GDI). I was thinking of using libgd because I also want to export the graph (as an image).
Does anyone have any portable suggestions (Linux/Windows)? I'd rather not embed openGL either. Is there anyway to have my image/graph interactable, should I just create my own widget...? The GTK+ manual doesn't really help :s