From 8f63354874a67b965cd85267424720a1a7cf7b81 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 12 Jan 2008 16:16:57 +0000 Subject: 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. WWW: http://libspiro.sourceforge.net/ PR: ports/119541 Submitted by: Naram Qashat --- graphics/libspiro/Makefile | 24 ++++++++++++++++++++++++ graphics/libspiro/distinfo | 3 +++ graphics/libspiro/pkg-descr | 21 +++++++++++++++++++++ graphics/libspiro/pkg-plist | 7 +++++++ 4 files changed, 55 insertions(+) create mode 100644 graphics/libspiro/Makefile create mode 100644 graphics/libspiro/distinfo create mode 100644 graphics/libspiro/pkg-descr create mode 100644 graphics/libspiro/pkg-plist (limited to 'graphics/libspiro') diff --git a/graphics/libspiro/Makefile b/graphics/libspiro/Makefile new file mode 100644 index 000000000000..96a27cedaf5f --- /dev/null +++ b/graphics/libspiro/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: libspiro +# Date created: 10 Janurary 2008 +# Whom: Naram Qashat +# +# $FreeBSD$ +# + +PORTNAME= libspiro +DISTVERSION= 20071029 +CATEGORIES= graphics +MASTER_SITES= SF +DISTNAME= ${PORTNAME}_src-${PORTVERSION} + +MAINTAINER= cyberbotx@cyberbotx.com +COMMENT= Library to convert clothoid splines into bezier splines + +USE_BZIP2= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} + +.include diff --git a/graphics/libspiro/distinfo b/graphics/libspiro/distinfo new file mode 100644 index 000000000000..a960257821a4 --- /dev/null +++ b/graphics/libspiro/distinfo @@ -0,0 +1,3 @@ +MD5 (libspiro_src-20071029.tar.bz2) = ab6aaa50bbd8fa55e78f8b8b0112f6cd +SHA256 (libspiro_src-20071029.tar.bz2) = 1efeb1527bd48f8787281e8be1d0e8ff2e584d4c1994a0bc2f6859be2ffad4cf +SIZE (libspiro_src-20071029.tar.bz2) = 172484 diff --git a/graphics/libspiro/pkg-descr b/graphics/libspiro/pkg-descr new file mode 100644 index 000000000000..a6ffb49305bc --- /dev/null +++ b/graphics/libspiro/pkg-descr @@ -0,0 +1,21 @@ +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) + +WWW: http://libspiro.sourceforge.net/ + +- Naram Qashat +cyberbotx@cyberbotx.com diff --git a/graphics/libspiro/pkg-plist b/graphics/libspiro/pkg-plist new file mode 100644 index 000000000000..419a497f7e4c --- /dev/null +++ b/graphics/libspiro/pkg-plist @@ -0,0 +1,7 @@ +include/bezctx.h +include/bezctx_intf.h +include/spiro.h +include/spiroentrypoints.h +lib/libspiro.la +lib/libspiro.so +lib/libspiro.so.0 -- cgit v1.2.3