Re: [gtk-list] draw_line
- From: Sven LUTHER <luther maxime u-strasbg fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] draw_line
- Date: Tue, 2 Mar 1999 16:05:18 +0100
On Tue, Mar 02, 1999 at 06:59:07AM -0800, Sune Fischer wrote:
> I need to know how to draw a line between to points, and that funktion
> is I belive
> 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 ...
> 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 email@example.com < /dev/null
] [Thread Prev