On Tue, 2007-09-11 at 11:38 +0200, Marc Weustink wrote:
> Luis Rodrigues wrote:
> > Hi,
> > 
> > Over the last weekend I've implemented text rotate in GTK2. I've
> > implemented it in Gtk2WidgetSet.ExtTextOut. Since there is no way to
> > define that the font is rotated, TGtk2WidgetSet.CreateFontIndirectEx ..
> > lfEscapement can only be used to place the angle  somewhere to
> > ExtTextOut to use.
> > 
> > The used functions (with gtk/pango version)
> > pango_matrix_rotate -  gtk2.6 
> > pango_matrix_translate - gtk2.6
> > pango_context_set_matrix - gtk2.6
> > pango_renderer_draw_layout - pango1.8
> > 
> > gdk_pango_renderer_get_default - gtk2.6
> > gdk_pango_renderer_set_drawable - gtk2.6
> > gdk_pango_renderer_set_gc - gtk2.6
> > 
> > gtk2.6 and pango1.8 where released in Dec 2004 so I guess i can be
> > implemented with no problems :)
> 
> IIRC we already use some 2.6 funtions.

According to gtk.org bindings page only gtk.2.4 is supported in pascal.

Who can add this gtk2.6 functions to the bindings, should I make a patch
against the version with is on fpc?

How can the angle info be integrated into the lcl?

Regards,

Luís



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to