Paul Barton-Davis <[EMAIL PROTECTED]> writes:

> here is some code:
> 
>               gdk_draw_text (area_widget->window,
>                              area_widget->style->font,
>                              area_widget->style->text_gc[GTK_STATE_NORMAL],
>                              10, 10,
>                              label,
>                              label_len);
> 
> can anyone explain to me what set of circumstances can lead to this
> drawing the text at some position that is *not* (10,10) in the window
> provided ? this is happening to me on a regular basis, and i simply
> have no idea how it can happen.

Absolutely no circumstances. Are you sure you are accounting for
the fact that y=10 is the position of the baseline, not the top
of the text?

Regards,
                                        Owen

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to