draw_line



Hi

I need to know how to draw a line between to points, and that funktion
is I belive 
     gdk_draw_line(...) 
but nothing happens.
I have tried to hacke one of the examples that came with gtk, it draws
a rectangle but uses a function to "realize" the rectangle. 
      gdk_draw_rectangle (...)
      gtk_widget_draw (..., &rectangle)  

I don't know what to do to "realize" this:
gdk_draw_line (pixmap, drawing_area->style->black_gc, 0, 0, 56, 78); 

I hope someone can help me with this problem?

Thanks a billion everybody,
Sune Fischer

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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