Re: [gtk-list] draw_line



On Tue, Mar 02, 1999 at 06:59:07AM -0800, Sune Fischer 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 guess it would be to make a rectangle with : x=0, y=0, w=56, h=78 and pass it
to the gtk_widget_draw ...

> I hope someone can help me with this problem?

Looking at the same thing in this very moment ...

Friendly,

Sven LUTHER
> 
> 
> 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
> 



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