funcmp-1.6: Functional MetaPost

Portabilityportable
Stabilityprovisional
Maintainersimons@cryp.to
Safe HaskellSafe-Infered

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