funcmp-1.8: Functional MetaPost

Copyright(c) 2003-2010 Peter Simons (c) 2002-2003 Ferenc Wágner (c) 2002-2003 Meik Hellmund (c) 1998-2002 Ralf Hinze (c) 1998-2002 Joachim Korittky (c) 1998-2002 Marco Kuhlmann
LicenseGPLv3
Maintainersimons@cryp.to
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

FMP

Description

 

Synopsis

Documentation

module FMP.Canvas

module FMP.Color

module FMP.Core

module FMP.File

module FMP.Frames

module FMP.Matrix

data Doc Source

Instances

module FMP.Syntax

module FMP.Term

module FMP.Tree

module FMP.Turtle

module FMP.Types

generate :: IsPicture a => String -> Int -> a -> IO () Source

emit|s a file called NAME.MP (or NAME.NUMBER.MP in not |newmp|) with a beginfig(NUMBER) in it, and runs MetaPost on it. The conversion to |MetaPost|, which |HasEmit|, is done by |metaPost|. Finally, the emitted |Doc| is |show|n.

wferi )

funcmp :: IsPicture a => String -> Int -> a -> IO () Source