Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> perl >> libmath-bezier-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : libmath-bezier-perl  ]

Paquet : libmath-bezier-perl (0.01-2.1)

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.

Autres paquets associés à libmath-bezier-perl

  • dépendances
  • recommandations
  • suggestions
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Télécharger libmath-bezier-perl

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 6,7 ko25 ko [liste des fichiers]