draw a colored line...



Hi everybody!

Can somebody tell me how i draw a colored line? at the moment i just
know how to draw black lines :-( 
I do this with "gdk_draw_lines (gdkpixmap,
gtkdrawingarea->style->black_gc, gdkpoints,integer);
As the second argument i have to give the function a GdkGraphikContext,
but i couldn't figure out how i can
specify the color of the line in the graphiccontext...

Thanks, Jörgen






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