When drawing to a TImage canvas DevCtx.DCWidget was nil so
gtk_widget_get_screen(DevCtx.DCWidget) would fail.
Just replaced it with another function. Now should work.
On Wed, 2007-09-12 at 05:24 +0100, Luis Rodrigues wrote:
Too much sleep made me send the wrong patch. Sorry.
I don't know
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
To: lazarus@miraclec.com
Subject: Re: [lazarus] GTK Rotated text
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
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
On 9/11/07, Luis Rodrigues [EMAIL PROTECTED] wrote:
According to gtk.org bindings page only gtk.2.4 is supported in pascal.
Well, look again =) I sent an e-mail months ago telling them to update
their page, and they finally answered it today, saying it was updated,
and it's indeed updated.
I
On Tue, 2007-09-11 at 20:36 +0200, Felipe Monteiro de Carvalho wrote:
I know that fpc gtk bindings cover at least up to 2.8
Where are they?
I could find them defined in FPC/packages/extra/gtk2 or
FPC/packages/extra/gtk1 so I thought they weren't and defined the
functions I needed.
Luís
Here is the patch to enable font rotation on gtk2. The angle used is the
one defined in createfontindirect.
Someone still needs to implement the necessary functions in the gtk
bindings.
Luis
On Mon, 2007-09-10 at 18:39 +0100, Luis Rodrigues wrote:
Hi,
Over the last weekend I've implemented
Too much sleep made me send the wrong patch. Sorry.
I don't know how the change in drawing function affects the rest of the
lcl code, but it should work with no probs.
Luis
On Wed, 2007-09-12 at 04:47 +0100, Luis Rodrigues wrote:
Here is the patch to enable font rotation on gtk2. The angle
On Tue, 04 Sep 2007 21:31:07 +0100
Luis Rodrigues [EMAIL PROTECTED] wrote:
Hello,
I was going to implement rotating text on GTK2 but just noticed that
pango_font_description_set_gravity, PangoGravity, etc are not defined
on FreePascal Pango bindings.
I tried to find on GTK website and on