Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

agg-examples

AGGPas examples

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

AGGPas examples

Drawing with agg_2D.pas unit. Creation of a PNG image, using fcl-image library.

Image

Where to find AGGPas

AGGPas is part of fpGUI and of Lazarus.

fpGUI

pascal
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.

Lazarus

pascal
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git

Units are in components/aggpas/src.

How to compile examples

Compile one example:

pascal
make arc

Compile all examples:

pascal
make

Compile all examples using LCL:

pascal
make LCL=1

You will have to edit Makefile and provide a path to your AGGPas units.

Credits

The AggExample unit is derived from Agg2DConsole.dpr.

The examples uses Nougat font by Dieter Steffmann.

See also