Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libmath-bezier-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libmath-bezier-perl  ]

套件: libmath-bezier-perl (0.01-2)

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.

其他與 libmath-bezier-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libmath-bezier-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 6.5 kB25 kB [文件列表]