Re: Drawing lines in a gtk_layout
- From: Jose Fernando Diago <jdiago escher puj edu co>
- To: Havoc Pennington <hp redhat com>
- Cc: GTK+ List <gtk-list gnome org>
- Subject: Re: Drawing lines in a gtk_layout
- Date: Mon, 23 Apr 2001 17:51:01 -0500 (COT)
On 21 Apr 2001, Havoc Pennington wrote:
>
> Hi,
>
> Drawing to a layout you have to draw to layout->bin_window and offset
> by layout->xoffset and layout->yoffset.
You mean that I should offset the drawing coordinates like this:
gdk_draw_line(GTK_LAYOUT(widget)->bin_window, widget->style->black_gc, xini, yini, xfin + layout->xoffset, yfin + layout->yoffset);
>
> Havoc
>
Jose.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]