packages feed

cubicbezier-0.6.0.4: cubicbezier.cabal

Name:		cubicbezier
Version: 	0.6.0.4
Synopsis:	Efficient manipulating of 2D cubic bezier curves.
Category: 	Graphics, Geometry, Typography
Copyright: 	Kristof Bastiaensen (2017)
Stability:	Unstable
License:	BSD3
License-file:	LICENSE
Author:		Kristof Bastiaensen
Maintainer:	Kristof Bastiaensen
Bug-Reports: 	https://github.com/kuribas/cubicbezier/issues
Build-type:	Simple
Cabal-version:	>=1.8
Description:	This library supports efficient manipulating of 2D cubic bezier curves, for use in graphics or typography.  Supported features are:
  .
  Evaluating bezier curves and derivatives, affine transformations on bezier curves, arclength and inverse arclength, intersections between two curves, intersection between a curve and a line, curvature and radius of curvature, finding tangents parallel to a vector, finding inflection points and cusps.
  .
  It also supports polynomial root finding with Bernstein polynomials.
  .
  The module "Geom2D.CubicBezier" exports all the cubic bezier functions.  The module "Geom2D"
  contains general 2D geometry functions and transformations.
 
Source-repository head
  type:		git
  location:	https://github.com/kuribas/cubicbezier

Flag Debug
     description: Enable debug messages
     Manual: True
     default: False

Library
  if flag(Debug)
     cpp-options: -DDEBUG
  Ghc-options: -Wall
  Build-depends: base >= 4.8 && < 5, containers >= 0.5.3, integration >= 0.1.1, vector >= 0.10,
                 matrices >= 0.4.1, microlens >= 0.1.2, microlens-th >= 0.1.2, microlens-mtl >= 0.1.2, mtl >= 2.1.1,
                 fast-math >= 1.0.0, vector-space >= 0.10.4
  Exposed-Modules:
    Geom2D
    Geom2D.CubicBezier
    Geom2D.CubicBezier.Basic
    Geom2D.CubicBezier.Approximate
    Geom2D.CubicBezier.Outline
    Geom2D.CubicBezier.Curvature
    Geom2D.CubicBezier.Overlap
    Geom2D.CubicBezier.Intersection
    Geom2D.CubicBezier.MetaPath
    Geom2D.CubicBezier.Stroke
    Math.BernsteinPoly
    Geom2D.CubicBezier.Numeric

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs:
    tests
  main-is:
    test.hs
  build-depends:
    base >= 4 && < 5,
    tasty >= 0.8,
    tasty-hunit >= 0.9,
    parsec >= 3.0,
    cubicbezier