[Lazarus] Examples of CairoCanvas usage

Petr Kristan petr.kristan at epos.cz
Tue Feb 10 08:14:12 CET 2015


On Mon, Feb 09, 2015 at 09:19:46PM +0200, Juha Manninen wrote:
> On Linux it does not throw an exception but it does not work either.
> There is no text.
> I tested other CairoCanvas variants, PS and PNG, and they behave the same.
> The code is in ancestor TCairoPrinterCanvas.TextOut.
> 
> Has anybody tried text output with CairoCanvas? Maybe it only works
> with graphics.
I normaly use it with graphics.

My commandline program version must be linked with gtk in linux.
I use this construction:

WidgetSet := TGtk2WidgetSet.Create;
DrawingRoutine;
FreeAndNil(WidgetSet);

Petr

-- 
Petr Kristan
.
EPOS PRO s.r.o., Smilova 333, 530 02 Pardubice
tel: +420 461101401    Czech Republic (Eastern Europe)
fax: +420 461101481




More information about the Lazarus mailing list