Jeremiah LaRocco jeremiah_larocco@fastmail.com
Common Lisp bindings to Blend2D.
These bindings will not be added to QuickLisp until after Blend2D has an official 1.0 release. Until then, installation is manual, and it's recommended to build against a source version of Blend2D.
Fortunately, cl-autowrap makes it easy to build the bindings from the source code.
First, fetch the code and follow the build instructions. I've had good luck using the first shell script under "Building From Source". To simplify later steps, you can install the library using "sudo make install", but it's not strictly necessary to follow these instructions.
In your local Lisp project directory, clone the cl-blend2d library:
git clone git@github.com:jl2/cl-blend2d.git
In Slime:
(ql:quickload :blend2d.examples)
The quickload will take several seconds the first time, as autwrap needs to run c2ffi, parse the .spec files, and generate code. Subsequent loads should be much faster.
Next, run one of the getting started examples:
(blend2d.examples:getting-started-1 "/home/jeremiah/blend2d.example.1.bmp")
This should produce a file blend2d.example.1.bmp
ISC
Copyright (c) 2023 Jeremiah LaRocco jeremiah_larocco@fastmail.com