funcmp-1.1: Functional MetaPostSource codeContentsIndex
FMP.Picture
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 Show a => IsPicture a whereSource
Methods
toPicture :: a -> PictureSource
toPictureList :: [a] -> PictureSource
show/hide Instances
class IsPath a whereSource
Methods
toPath :: a -> PathSource
toPathList :: [a] -> PathSource
show/hide Instances
class IsArea a whereSource
Methods
toArea :: a -> AreaSource
show/hide Instances
class HasPicture a whereSource
Methods
fromPicture :: IsPicture b => b -> aSource
show/hide Instances
class HasName a whereSource
Methods
setName :: IsName b => b -> a -> aSource
getNames :: a -> [Name]Source
show/hide Instances
class HasDXY a whereSource
Methods
setDX :: Numeric -> a -> aSource
getDX :: a -> Maybe NumericSource
setDY :: Numeric -> a -> aSource
getDY :: a -> Maybe NumericSource
show/hide Instances
class HasExtent a whereSource
Methods
setWidth :: Numeric -> a -> aSource
removeWidth :: a -> aSource
getWidth :: a -> Maybe NumericSource
setHeight :: Numeric -> a -> aSource
removeHeight :: a -> aSource
getHeight :: a -> Maybe NumericSource
show/hide Instances
class HasLabel a whereSource
Methods
setLabel :: IsPicture b => Double -> Dir -> b -> a -> aSource
removeLabel :: a -> aSource
show/hide Instances
class HasPattern a whereSource
Methods
setPattern :: Pattern -> a -> aSource
setDefaultPattern :: a -> aSource
getPattern :: a -> PatternSource
show/hide Instances
class HasPen a whereSource
Methods
setPen :: Pen -> a -> aSource
setDefaultPen :: a -> aSource
getPen :: a -> PenSource
show/hide Instances
class HasArrowHead a whereSource
Methods
setArrowHead :: ArrowHead -> a -> aSource
removeArrowHead :: a -> aSource
getArrowHead :: a -> Maybe ArrowHeadSource
setStartArrowHead :: ArrowHead -> a -> aSource
removeStartArrowHead :: a -> aSource
getStartArrowHead :: a -> Maybe ArrowHeadSource
show/hide Instances
class HasStartEndCut a whereSource
Methods
setStartCut :: IsName b => b -> a -> aSource
removeStartCut :: a -> aSource
setEndCut :: IsName b => b -> a -> aSource
removeEndCut :: a -> aSource
show/hide Instances
class HasStartEndDir a whereSource
Methods
setStartAngle :: Numeric -> a -> aSource
setEndAngle :: Numeric -> a -> aSource
setStartCurl :: Numeric -> a -> aSource
setEndCurl :: Numeric -> a -> aSource
setStartVector :: Point -> a -> aSource
setEndVector :: Point -> a -> aSource
removeStartDir :: a -> aSource
removeEndDir :: a -> aSource
show/hide Instances
class HasJoin a whereSource
Methods
setJoin :: BasicJoin -> a -> aSource
getJoin :: a -> BasicJoinSource
show/hide Instances
class HasShadow a whereSource
Methods
setShadow :: (Numeric, Numeric) -> a -> aSource
clearShadow :: a -> aSource
getShadow :: a -> Maybe (Numeric, Numeric)Source
show/hide Instances
class HasLayer a whereSource
Methods
setBack :: a -> aSource
setFront :: a -> aSource
getLayer :: a -> LayerSource
show/hide Instances
class HasConcat a whereSource
Methods
(&) :: a -> a -> aSource
show/hide Instances
class IsHideable a whereSource
Methods
hide :: a -> aSource
show/hide Instances
joinCat :: BasicJoinSource
joinFree :: BasicJoinSource
joinBounded :: BasicJoinSource
joinStraight :: BasicJoinSource
joinTense :: BasicJoinSource
joinTension :: Tension -> BasicJoinSource
joinTensions :: Tension -> Tension -> BasicJoinSource
joinControl :: Point -> BasicJoinSource
joinControls :: Point -> Point -> BasicJoinSource
tension :: Numeric -> TensionSource
tensionAtLeast :: Numeric -> TensionSource
buildCycle :: Path -> Path -> PathSource
transformPath :: Transformation -> Path -> PathSource
mm :: NumericSource
pt :: NumericSource
dd :: NumericSource
bp :: NumericSource
cm :: NumericSource
pc :: NumericSource
cc :: NumericSource
inch :: NumericSource
up :: PointSource
down :: PointSource
left :: PointSource
right :: PointSource
fullcircle :: PathSource
halfcircle :: PathSource
quartercircle :: PathSource
unitsquare :: PathSource
enumPics :: HasName a => [a] -> [a]Source
image :: BitDepth -> [String] -> PictureSource
data Picture Source
Constructors
Attributes Attrib Picture
Overlay [Equation] (Maybe Int) [Picture]
Define [Equation] Picture
Frame FrameAttrib [Equation] Path Picture
Draw [Path] Picture
Fill [Area] Picture
Clip Path Picture
Empty Numeric Numeric
Tex String
Text String
BitLine Point BitDepth String
PTransform Transformation Picture
TrueBox Picture
show/hide Instances
data Layer Source
Constructors
Front
Back
show/hide Instances
data Transformation Source
Constructors
Transformation Numeric Numeric Numeric Numeric Numeric Numeric
show/hide Instances
data BitDepth Source
Constructors
Depth1
Depth8
Depth24
show/hide Instances
row :: IsPicture a => [a] -> PictureSource
column :: IsPicture a => [a] -> PictureSource
rowSepBy :: IsPicture a => Numeric -> [a] -> PictureSource
columnSepBy :: IsPicture a => Numeric -> [a] -> PictureSource
vspace :: Numeric -> PictureSource
hspace :: Numeric -> PictureSource
space :: Numeric -> Numeric -> PictureSource
fill :: (IsPicture a, IsArea b) => [b] -> a -> PictureSource
clip :: IsPicture a => Path -> 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
overlay :: IsPicture a => [Equation] -> [a] -> PictureSource
overlay' :: IsPicture a => [Equation] -> Maybe Int -> [a] -> PictureSource
ooalign :: IsPicture a => [a] -> PictureSource
class HasDefine a whereSource
Methods
define :: [Equation] -> a -> aSource
show/hide Instances
text :: String -> PictureSource
tex :: String -> PictureSource
math :: String -> PictureSource
empty :: PictureSource
setTrueBoundingBox :: IsPicture a => a -> PictureSource
scale :: IsPicture a => Numeric -> a -> PictureSource
rotate :: IsPicture a => Numeric -> a -> PictureSource
transform :: IsPicture a => Transformation -> a -> PictureSource
affine :: (Numeric, Numeric, Numeric, Numeric, Numeric, Numeric) -> TransformationSource
shifted :: (Numeric, Numeric) -> TransformationSource
rotated :: Numeric -> TransformationSource
reflectedX :: TransformationSource
reflectedY :: TransformationSource
reflectX :: IsPicture a => a -> PictureSource
reflectY :: IsPicture a => a -> PictureSource
scaledX :: Numeric -> TransformationSource
scaledY :: Numeric -> TransformationSource
scaled :: Numeric -> TransformationSource
skewedX :: Numeric -> TransformationSource
skewX :: IsPicture a => Numeric -> a -> PictureSource
skewedY :: Numeric -> TransformationSource
skewY :: IsPicture a => Numeric -> a -> PictureSource
line :: (IsPath a, IsPath b) => a -> b -> PathSource
curve :: (IsPath a, IsPath b) => a -> b -> PathSource
arrow :: (IsPath b, IsPath a) => a -> b -> PathSource
cycle' :: PathSource
lastNameIsDir :: Name -> BoolSource
defaultArrowHead :: ArrowHeadSource
arrowHeadBig :: ArrowHeadSource
arrowHeadSize :: Double -> Double -> ArrowHeadSource
setArrowHeadStyle :: ArrowHeadStyle -> ArrowHead -> ArrowHeadSource
getArrowHeadStyle :: ArrowHead -> ArrowHeadStyleSource
ahFilled :: ArrowHeadStyleSource
ahLine :: ArrowHeadStyleSource
data Attrib Source
Constructors
Attrib
aNames :: [Name]
aColor :: Color
aBGColor :: Color
show/hide Instances
stdAttrib :: AttribSource
data FrameAttrib Source
Constructors
FrameAttrib
faNames :: [Name]
faColor :: Color
faBGColor :: Color
faPen :: Pen
faPattern :: Pattern
faShadow :: Maybe (Numeric, Numeric)
faVisible :: Bool
show/hide Instances
stdFrameAttrib :: FrameAttribSource
data PathElemDescr Source
Constructors
PathElemDescr
peColor :: Color
pePen :: Pen
peArrowHead :: Maybe ArrowHead
peSArrowHead :: Maybe ArrowHead
pePattern :: Pattern
peVisible :: Bool
peStartCut :: Maybe CutPic
peEndCut :: Maybe CutPic
peStartDir :: Dir'
peEndDir :: Dir'
peJoin :: BasicJoin
peLabels :: [PathLabel]
show/hide Instances
stdPathElemDescr :: PathElemDescrSource
data Path Source
Constructors
PathBuildCycle Path Path
PathTransform Transformation Path
PathPoint Point
PathCycle
PathJoin Path PathElemDescr Path
PathEndDir Point Dir'
PathDefine [Equation] Path
show/hide Instances
data PathLabel Source
Constructors
PathLabel Picture Double Dir
show/hide Instances
data ArrowHead Source
Constructors
DefaultArrowHead
ArrowHead (Maybe Double) (Maybe Double) ArrowHeadStyle
show/hide Instances
data ArrowHeadStyle Source
Constructors
AHFilled
AHLine
show/hide Instances
data CutPic Source
Constructors
CutPicTrans CutPic [Int]
CutPic Name
CutPic' String
show/hide Instances
pathLength :: Num a => Path -> aSource
forEachPath :: (PathElemDescr -> PathElemDescr) -> Path -> PathSource
data Dir' Source
Constructors
DirEmpty
DirCurl Numeric
DirDir Numeric
DirVector Point
show/hide Instances
data BasicJoin Source
Constructors
BJCat
BJFree
BJBounded
BJStraight
BJTense
BJTension Tension
BJTension2 Tension Tension
BJControls Point
BJControls2 Point Point
show/hide Instances
data Tension Source
Constructors
Tension Numeric
TensionAtLeast Numeric
show/hide Instances
data Area Source
Constructors
Area AreaDescr Path
show/hide Instances
data AreaDescr Source
Constructors
AreaDescr
arColor :: Color