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.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives