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
Priority: optional
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl
Maintainer: Richard Holland <holland@eaglegenomics.com>
Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Math-Bezier/
Package: libmath-bezier-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: 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.
.
This description was automagically extracted from the module by dh-make-perl.
|