funcmp-1.3: Functional MetaPost

Portabilityportable
Stabilityprovisional
Maintainersimons@cryp.to

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