[Gtk-sharp-list] Pango.Layout (again :)
Tiago Lima
tiago.lima@vianw.pt
Sun, 7 Mar 2004 17:46:39 +0000
Ok, but what if I want to know the line number ?
Thanks,
Tiago Lima
On Sunday 07 March 2004 17:00, Borja Sanchez Zamorano wrote:
> try with this method:
>
> public int IndexToX (int index_, bool trailing)
>
>
> the source in gtk-sharp is:
>
> public int IndexToX(int index_, bool trailing) {
> int x_pos;
> pango_layout_line_index_to_x(ref this, index_, trailing, out x_pos);
> return x_pos;
> }
>
>
> BorSanZa
>
> El dom, 07-03-2004 a las 17:32, Tiago Lima escribi=F3:
> > Hi,
> >
> > Where can I find this function, in pango-sharp, existing in the
> > pango-layout.c file ?
> >
> > void
> > pango_layout_index_to_line_x (PangoLayout *layout,
> > int index,
> > gboolean trailing,
> > int *line,
> > int *x_pos)
> >
> > Thanks,
> > Tiago Lima
> > _______________________________________________
> > Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list