Fppdf sounds interesting.  I'm already using AGG-Pas in my project, and I am 
quite happy with it.  Exporting PDF files from my AGG-Pas buffer would be 
really nice.   I did a quick search and didn't find any documentation for it, 
is there a link for this?  Would you happen to have a sample program of how to 
generate a PDF from my AGG-Pas buffer?

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of Graeme 
Geldenhuys via fpc-pascal
Sent: Wednesday, November 18, 2020 4:31 PM
To: fpc-pascal@lists.freepascal.org
Cc: Graeme Geldenhuys <mailingli...@geldenhuys.co.uk>
Subject: Re: [fpc-pascal] Graphing library

On 15/11/2020 8:33 am, Darius Blaszyk via fpc-pascal wrote:
> I am looking for a simple to use non-visual graphing library to 
> produce x-y plots in a  raster file format (similar to how pyplot works).


You could also use the fppdf code included with FPC and generate PDFs of any 
size (you don't have to stick to standard paper sizes). Not sure if PDF will 
suit your needs, but you will end up with a very portable format that scales.

Secondly, you could also use AGG-Pas. It's fully implemented in Object Pascal 
so is very portable (I've used it on RPi, Windows, Linux, FreeBSD and OSX). It 
is a anti-alias sub-pixel framework with configurable rendering pipelines. You 
can use the "raw" API to get the most flexibility, or use the easier 2D unit 
but reduces functionality and flexibility. The latest code is included with the 
fpGUI project, but still 100% stand-alone - no dependencies on fpGUI at all. It 
also comes with a huge about of demos so show off the features.

Original AGG-Pas website. But as I said, the code in fpGUI's repo is newer with 
multiple bug fixes and improvements.

  http://crossgl.com/aggpas/documentation/index.html


Both options have no dependencies on graphics libraries or GUI systems, so is 
perfect for console of server side rendering.

Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal 
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp 
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to