[Lazarus] Examples of CairoCanvas usage

Petr Kristan petr.kristan at epos.cz
Tue Feb 3 08:56:18 CET 2015

On Tue, Feb 03, 2015 at 02:01:27AM +0200, Juha Manninen wrote:
> Does anybody have examples for the package CairoCanvas_pkg that comes
> with Lazarus?
> The package dir has none.
> I am most interested in textual data + PDF, thus TCairoPdfCanvas and
> TCairoPsCanvas, but other examples are welcome, too.
TCairoCanvas works as clasic TCanvas.

You can create TCairo*Canvas of your choice, set some specific properties as
OutputFileName, XDPI, YDPI, PaperWidth, PaperHeight, Orientation
and draw on it like on normal TCanvas.


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