Graphics Context & Drawing with Gdk?




As part of a project I'm currently working on I need to display a
small plot of signal. I've managed to create a window with a drawing 
area, off screen pixmap etc. What I want to do is draw some axes and 
labels in one color and plot the data in a another color. 

How to I go about setting the different colors for drawing the axes 
and then the data itself? Should I just set the colors in one (or more)
of the predefined graphics context (dark_gc, mid_gc, light gc etc), or
should I create a new GC and use that? 



Trev



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]