Copyright | (c) 2003-2010 Peter Simons (c) 2002-2003 Ferenc Wágner (c) 2002-2003 Meik Hellmund (c) 1998-2002 Ralf Hinze (c) 1998-2002 Joachim Korittky (c) 1998-2002 Marco Kuhlmann |
---|---|
License | GPLv3 |
Maintainer | simons@cryp.to |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
FMP.Picture
Contents
Description
Documentation
class Show a => IsPicture a where #
Instances
IsPicture Char # | |
IsPicture Int # | |
IsPicture Integer # | |
IsPicture () # | |
IsPicture Numeric # | |
IsPicture Frame # | |
IsPicture Area # | |
IsPicture Path # | |
IsPicture Picture # | |
IsPicture Tree # | |
IsPicture Canvas # | |
IsPicture Turtle # | |
IsPicture a => IsPicture [a] # | |
(IsPicture a, IsPicture b) => IsPicture (a, b) # | |
(IsPicture a, IsPicture b, IsPicture c) => IsPicture (a, b, c) # | |
Minimal complete definition
Minimal complete definition
class HasPicture a where #
Minimal complete definition
Methods
fromPicture :: IsPicture b => b -> a #
Instances
Methods
Minimal complete definition
setWidth, removeWidth, getWidth, setHeight, removeHeight, getHeight
Minimal complete definition
Minimal complete definition
class HasArrowHead a where #
Minimal complete definition
setArrowHead, removeArrowHead, getArrowHead, setStartArrowHead, removeStartArrowHead, getStartArrowHead
Methods
setArrowHead :: ArrowHead -> a -> a #
removeArrowHead :: a -> a #
getArrowHead :: a -> Maybe ArrowHead #
setStartArrowHead :: ArrowHead -> a -> a #
removeStartArrowHead :: a -> a #
getStartArrowHead :: a -> Maybe ArrowHead #
Instances
class HasStartEndCut a where #
Minimal complete definition
Methods
setStartCut :: IsName b => b -> a -> a #
removeStartCut :: a -> a #
setEndCut :: IsName b => b -> a -> a #
removeEndCut :: a -> a #
Instances
class HasStartEndDir a where #
Minimal complete definition
setStartAngle, setEndAngle, setStartCurl, setEndCurl, setStartVector, setEndVector, removeStartDir, removeEndDir
Methods
setStartAngle :: Numeric -> a -> a #
setEndAngle :: Numeric -> a -> a #
setStartCurl :: Numeric -> a -> a #
setEndCurl :: Numeric -> a -> a #
setStartVector :: Point -> a -> a #
setEndVector :: Point -> a -> a #
removeStartDir :: a -> a #
removeEndDir :: a -> a #
Instances
Minimal complete definition
Minimal complete definition
class IsHideable a where #
Minimal complete definition
joinTension :: Tension -> BasicJoin #
joinTensions :: Tension -> Tension -> BasicJoin #
joinControl :: Point -> BasicJoin #
joinControls :: Point -> Point -> BasicJoin #
tensionAtLeast :: Numeric -> Tension #
buildCycle :: Path -> Path -> Path #
transformPath :: Transformation -> Path -> Path #
fullcircle :: Path #
halfcircle :: Path #
quartercircle :: Path #
unitsquare :: Path #
Constructors
data Transformation #
Instances
columnSepBy :: IsPicture a => Numeric -> [a] -> Picture #
Minimal complete definition
setTrueBoundingBox :: IsPicture a => a -> Picture #
transform :: IsPicture a => Transformation -> a -> Picture #
shifted :: (Numeric, Numeric) -> Transformation #
rotated :: Numeric -> Transformation #
scaledX :: Numeric -> Transformation #
scaledY :: Numeric -> Transformation #
scaled :: Numeric -> Transformation #
skewedX :: Numeric -> Transformation #
skewedY :: Numeric -> Transformation #
lastNameIsDir :: Name -> Bool #
arrowHeadSize :: Double -> Double -> ArrowHead #
setArrowHeadStyle :: ArrowHeadStyle -> ArrowHead -> ArrowHead #
data FrameAttrib #
Constructors
FrameAttrib | |
data PathElemDescr #
Constructors
PathElemDescr | |
Instances
Constructors
DefaultArrowHead | |
ArrowHead (Maybe Double) (Maybe Double) ArrowHeadStyle |
data ArrowHeadStyle #
Instances
pathLength :: Num a => Path -> a #
forEachPath :: (PathElemDescr -> PathElemDescr) -> Path -> Path #
Constructors
Tension Numeric | |
TensionAtLeast Numeric |
getDefault :: Maybe a -> a -> a #
Constructors
Frame' FrameAttrib ExtentAttrib Path Picture |