funcmp-1.3: Functional MetaPost

Portabilityportable
Stabilityprovisional
Maintainersimons@cryp.to

FMP.Picture

Description

 

Documentation

(|-|) :: (IsPicture a, IsPicture b) => a -> b -> PictureSource

(|||) :: (IsPicture a, IsPicture b) => a -> b -> PictureSource

(|=|) :: (IsPicture a, IsPicture b) => a -> b -> PictureSource

(||||) :: (IsPicture a, IsPicture b) => a -> b -> PictureSource

(#) :: a -> (a -> b) -> bSource

(.&.) :: (IsPath a, IsPath b) => a -> b -> PathSource

(...) :: (IsPath a, IsPath b) => a -> b -> PathSource

(.-.) :: (IsPath a, IsPath b) => a -> b -> PathSource

(....) :: (IsPath a, IsPath b) => a -> b -> PathSource

(.--.) :: (IsPath a, IsPath b) => a -> b -> PathSource

class IsPath a whereSource

Methods

toPath :: a -> PathSource

toPathList :: [a] -> PathSource

Instances

IsPath Char 
IsPath Point 
IsPath Name 
IsPath Path 
IsPath a => IsPath [a] 
(Real a, Real b) => IsPath (a, b) 

class IsArea a whereSource

Methods

toArea :: a -> AreaSource

Instances

class HasPicture a whereSource

Methods

fromPicture :: IsPicture b => b -> aSource

Instances

class HasName a whereSource

Methods

setName :: IsName b => b -> a -> aSource

getNames :: a -> [Name]Source

class HasDXY a whereSource

Methods

setDX :: Numeric -> a -> aSource

getDX :: a -> Maybe NumericSource

setDY :: Numeric -> a -> aSource

getDY :: a -> Maybe NumericSource

Instances

class HasLabel a whereSource

Methods

setLabel :: IsPicture b => Double -> Dir -> b -> a -> aSource

removeLabel :: a -> aSource

class HasStartEndCut a whereSource

Methods

setStartCut :: IsName b => b -> a -> aSource

removeStartCut :: a -> aSource

setEndCut :: IsName b => b -> a -> aSource

removeEndCut :: a -> aSource

class HasJoin a whereSource

Methods

setJoin :: BasicJoin -> a -> aSource

getJoin :: a -> BasicJoinSource

class HasLayer a whereSource

Methods

setBack :: a -> aSource

setFront :: a -> aSource

getLayer :: a -> LayerSource

Instances

enumPics :: HasName a => [a] -> [a]Source

data Layer Source

Constructors

Front 
Back 

Instances

row :: IsPicture a => [a] -> PictureSource

fill :: (IsPicture a, IsArea b) => [b] -> a -> PictureSource

draw :: IsPicture a => [Path] -> a -> PictureSource

at :: (IsPicture a, IsPicture b) => Dir -> a -> b -> PictureSource

label :: (IsPicture a, IsPicture b) => Dir -> a -> b -> PictureSource

class HasDefine a whereSource

Methods

define :: [Equation] -> a -> aSource

line :: (IsPath a, IsPath b) => a -> b -> PathSource

curve :: (IsPath a, IsPath b) => a -> b -> PathSource

arrow :: (IsPath b, IsPath a) => a -> b -> PathSource

data Attrib Source

Constructors

Attrib 

Fields

aNames :: [Name]
 
aColor :: Color
 
aBGColor :: Color
 

data AreaDescr Source

Constructors

AreaDescr 

Fields

arColor :: Color
 
arLayer :: Layer
 
arPen :: Pen
 

getDefault :: Maybe a -> a -> aSource