| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | simons@cryp.to |
FMP.Syntax
Description
Documentation
class HasEmit a where
data MetaPost
Constructors
| MPAssign Term Term | |
| MPAssignPath String MPPath | |
| MPBoxit String MetaPost | |
| MPBitLine (Term, Term) Term String | |
| MPCloneit String String | |
| MPClearIt | |
| MPClip MPPath | |
| MPComment String | |
| MPConc MetaPost MetaPost | |
| MPDef String Term | |
| MPDefineTrans String MPTransform | |
| MPDraw MPArrow MPPath MPPattern MPColor MPPen | |
| MPDrawAHead MPArrow MPPath MPColor MPPen | |
| MPDrawPic MPColor Term | |
| MPDrawUnBoxed [String] | |
| MPEquals [Term] | |
| MPFigure Int MetaPost | |
| MPFill MPPath MPColor MPPen | |
| MPFixPos [String] | |
| MPFixSize [String] | |
| MPGraduate MPColor MPColor MPPath Int Double | |
| MPGraduatePic MPColor MPColor Term Int Double | |
| MPGraduatePath MPArrow MPColor MPColor MPPath MPPattern MPPen Int Double | |
| MPGroup MetaPost | |
| MPIfElse Term MetaPost MetaPost | |
| MPImage String MetaPost | |
| MPRelax | |
| MPShapeit String | |
| MPSubBox Int MetaPost | |
| MPTex String | |
| MPText String | |
| MPVerbatim String |
data MPArrow
Constructors
| MPNormal | |
| MPArrow (Maybe Double) (Maybe Double) MPArrowStyle | |
| MPReverse (Maybe Double) (Maybe Double) MPArrowStyle |
mpPathArrow :: ArrowHead -> MPArrow
mpPathRArrow :: ArrowHead -> MPArrow
data MPPath
Constructors
| MPPathNorm MPPathSub | |
| MPCutbefore MPPath MPPath | |
| MPCutafter MPPath MPPath | |
| MPBPath Term | |
| MPTransformP [Int] MPPath | |
| MPShiftedP Term MPPath | |
| MPSubPath Term Term MPPath | |
| MPPathTerm Term |
data MPPathSub
data MPPathBasicJoin
Constructors
Instances
data MPPathDir
Constructors
| MPDefaultPathDir | |
| MPPathDirCurl Term | |
| MPPathDirPair Term Term | |
| MPPathDir Term |
Constructors
| MPPathBasicJoinTension Term | |
| MPPathBasicJoinAtLeast Term |
Instances
data MPColor
Constructors
| MPDefaultColor | |
| MPColor Double Double Double |
data MPPen
Constructors
| MPDefaultPen | |
| MPPenCircle (Term, Term) Term | |
| MPPenSquare (Term, Term) Term |
data MPPattern
Constructors
| MPDefaultPattern | |
| MPDashPattern [Double] |
mpEquations :: [Equation] -> MetaPost
mpPEquations :: [Point] -> [Term]
mpNEquations :: [Numeric] -> [Term]
mpBoolRelat :: BoolRelat -> String
showFF :: Double -> ShowS
emitPattern' :: MPPattern -> Doc
emitDefTrans :: String -> MPTransform -> Doc
emitColor' :: MPColor -> Doc
tr :: Int -> String
pos :: Int -> Int -> String
savestring :: String -> String
shiftRefPoint :: Int -> Term
suff :: Int -> String