Re: [gtk-list] draw_line




I have an example that draws a clock (with other examples).  Visit
http://www.bcpl.net/~eharlow/book

Download the chapter 10 examples.

 -Eric



---Sune Fischer <ruleren@yahoo.com> wrote:
>
> 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
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
> 
> 

_________________________________________________________
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]