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