1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Source: libmath-bezier-perl
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9)
Build-Depends-Indep: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Florian Schlichting <fsfs@debian.org>
Standards-Version: 3.9.6
Homepage: http://search.cpan.org/dist/Math-Bezier/
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-perl/packages/libmath-bezier-perl.git/
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmath-bezier-perl.git
Package: libmath-bezier-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: Perl module for the solution of Bezier Curves
Math::Bezier implements the algorithm for the solution of Bezier curves as
presented by Robert D. Miller in Graphics Gems V, "Quick and Simple Bezier
Curve Drawing".
.
A new Bezier curve is created using the new() constructor, passing a list of
(x, y) control points.
.
use Math::Bezier;
my @control = ( 0, 0, 10, 20, 30, -20, 40, 0 );
my $bezier = Math::Bezier->new(@control);
.
Alternately, a reference to a list of control points may be passed.
|