Re: gtk pango draw rotated text

2007-09-11 Thread Luis Rodrigues
Thanks for the support. For future reference in google or whatever: Pascal Rotate Text GTK2 renderer := gdk_pango_renderer_get_default( gtk_widget_get_screen(DevCtx.DCWidget) ); gdk_pango_renderer_set_drawable ( renderer, DevCtx.drawable); gdk_pango_renderer_set_gc ( renderer,

Re: gtk pango draw rotated text

2007-09-10 Thread Luis Rodrigues
It's not on my system. I use Debian, do you happen do know the package name? Thanks, Luis On Sun, 2007-09-09 at 19:40 -0400, James Scott Jr wrote: Take a look at the excellent example in the program 'gtk-demo', which should be installed on your system already. Try '# gtk-demo', then choose

Re: gtk pango draw rotated text

2007-09-10 Thread Yeti
On Mon, Sep 10, 2007 at 01:27:48PM +0100, Luis Rodrigues wrote: It's not on my system. I use Debian, do you happen do know the package name? http://packages.debian.org/search?searchon=contentskeywords=gtk-demomode=pathsuite=stablearch=any Yeti -- http://gwyddion.net/

gtk pango draw rotated text

2007-09-09 Thread Luis Rodrigues
Hi, I want to draw some rotated text on a Window. I've tried every code I found on the net but still no solution :( I would like to draw some rotated text on a window, the rotation point should X,Y and not to the center of the rectangle where the text is draw. Can anyone please help me? This

Re: gtk pango draw rotated text

2007-09-09 Thread James Scott Jr
Take a look at the excellent example in the program 'gtk-demo', which should be installed on your system already. Try '# gtk-demo', then choose the 'rotated text' example. Note: double-clinking the choice launches the example, also notice the two tabs - one show description, one show the actual