[Lazarus] Examples of CairoCanvas usage

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Tue Feb 10 10:22:17 CET 2015

On 2015-02-03 00:01, Juha Manninen wrote:
> I am most interested in textual data + PDF, thus TCairoPdfCanvas and
> TCairoPsCanvas, but other examples are welcome, too.

Must you use Cairo?  I'm just asking, because if Cairo is not a
requirement then very good alternatives exits.

eg: I've used AggPas (one included with fpGUI as it is more up to date
than the Lazarus one) in console and CGI apps to generate graphs and
images (with or without text) - no dependencies on GUI toolkits or
external libraries.

For PDF output, again fpGUI includes an excellent custom written PDF
engine which I have used for reporting in my commercial software. It has
some excellent features other pascal based PDF engines don't have. I
believe Michael van Canneyt also used it as the basis for the new PDF
engine included with FPC trunk.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the Lazarus mailing list