hgeometric-0.0.2.1: A geometric library with bindings to GPC.

Algebra.Geometric.Strip

Contents

Description

Strip data type and convertions.

Synopsis

Data Type

newtype Strip Source

A Strip is an alternative form of representing a Polygon composed by Contours that are not holes. It's a good idea to use it to draw filled figures, and to use Polygon to draw the Contours.

Constructors

StripC 

Fields

stripSet :: Set Contour
 

Convertion

safePolygonToStrip :: Polygon -> IO StripSource

An IO version of polygonToStrip, which does not use unsafePerformIO.