Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-11

How to use ExtTextOut with Printer.Canvas.Handle on Gtk2

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Fred Flinestone

Hello all,

When I use ExtTextOut with Printer.Canvas.Handle then function ends because of not valid DC and nothing is written to Canvas. I know that there os TextOut which works, but I need to use TextOut with definition of character positions.

How can I create device context to get ExtTextOut working or is there any function which does similar functionality?

thanks.

f.