Drawing with agg_2D.pas unit. Creation of a PNG image, using fcl-image library.
AGGPas is part of fpGUI and of Lazarus.
git clone https://github.com/graemeg/fpGUI.git
Units are in framework/src/main/pascal/corelib/render/software.
The agg_2D unit is in extras/aggpas.
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
Units are in components/aggpas/src.
Compile one example:
make arc
Compile all examples:
make
Compile all examples using LCL:
make LCL=1
You will have to edit Makefile and provide a path to your AGGPas units.
The AggExample unit is derived from Agg2DConsole.dpr.
The examples uses Nougat font by Dieter Steffmann.
