typography-geometry-1.0.1.0: Drawings for printed text documents

Safe HaskellNone
LanguageHaskell98

Graphics.Typography.Geometry.Approximation

Description

This module contains the function to approximate a list of curves with degree 3 Bezier curves, using a least squares method.

Synopsis

Documentation

approximate :: [Curve] -> [(Bernsteinp Int Double, Bernsteinp Int Double)] Source #

Approximates a list of Curves with a list of degree 3 Bernstein curves.