graphics/libspiro 20240903,1 MidnightBSD
Library to convert clothoid splines into Bezier splines
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- gpl3+
- Categories
- graphics
Description
Spiro is the creation of Raph Levien. It simplifies the drawing of beautiful curves.
Using bezier splines an artist can easily draw curves with the same slope on either side of an on-curve point. Spiros, on the other hand, are based on clothoid splines which make it easy to maintain constant curvature as well as constant slope. Such curves will simply look nicer.
Raph Levien's spiro splines only use on-curve points and so are easier to use and more intuitive to the artist.
This library will take an array of spiro control points and convert them into a series of bezier splines which can then be used in the myriad of ways the world has come to use beziers.
(Above taken from Introduction on the library's website)
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/libspiro | 20240903,1 |
| FreeBSD | graphics/libspiro | 20240903,1 |
| OpenBSD | graphics/libspiro | 20240903 |
| NetBSD | graphics/libspiro | 1.5.0.20240903 |
| DragonFly | graphics/libspiro | 20221101_1,1 |
Install
Binary package:
mport install libspiro
From mports:
cd /usr/mports/graphics/libspiro && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libspiro>0:graphics/libspiro
LIB_DEPENDS= libspiro.so:graphics/libspiro
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- cpe libtool pathfix
- Service scripts
- none
Files
Manual pages 1
- libspiro(3)
pkg-plist 9
- include/bezctx.h
- include/spiro.h
- include/spiroentrypoints.h
- lib/libspiro.a
- lib/libspiro.so
- lib/libspiro.so.1
- lib/libspiro.so.1.0.5
- libdata/pkgconfig/libspiro.pc
- share/man/man3/libspiro.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libspiro-dist-20240903.tar.gz | 436645 | 1412a21b943c6e1db834ee2d74145aad20b3f62b12152d475613b8241d9cde10 |
Master sites 1
- https://github.com/fontforge/libspiro/releases/download/20240903/