| 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-Inferred |
| Language | Haskell98 |
FMP.Picture
Description
Documentation
class Show a => IsPicture a where Source
Minimal complete definition
Nothing
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
class HasPattern a where Source
Methods
setPattern :: Pattern -> a -> a Source
setDefaultPattern :: a -> a Source
getPattern :: a -> Pattern Source
class HasArrowHead a where Source
Methods
setArrowHead :: ArrowHead -> a -> a Source
removeArrowHead :: a -> a Source
getArrowHead :: a -> Maybe ArrowHead Source
setStartArrowHead :: ArrowHead -> a -> a Source
removeStartArrowHead :: a -> a Source
getStartArrowHead :: a -> Maybe ArrowHead Source
class HasStartEndCut a where Source
Methods
setStartCut :: IsName b => b -> a -> a Source
removeStartCut :: a -> a Source
setEndCut :: IsName b => b -> a -> a Source
removeEndCut :: a -> a Source
Instances
class HasStartEndDir a where Source
Methods
setStartAngle :: Numeric -> a -> a Source
setEndAngle :: Numeric -> a -> a Source
setStartCurl :: Numeric -> a -> a Source
setEndCurl :: Numeric -> a -> a Source
setStartVector :: Point -> a -> a Source
setEndVector :: Point -> a -> a Source
removeStartDir :: a -> a Source
removeEndDir :: a -> a Source
Instances
class HasShadow a where Source
Instances
class IsHideable a where Source
joinTension :: Tension -> BasicJoin Source
joinTensions :: Tension -> Tension -> BasicJoin Source
joinControl :: Point -> BasicJoin Source
joinControls :: Point -> Point -> BasicJoin Source
tensionAtLeast :: Numeric -> Tension Source
buildCycle :: Path -> Path -> Path Source
transformPath :: Transformation -> Path -> Path Source
fullcircle :: Path Source
halfcircle :: Path Source
unitsquare :: Path Source
Constructors
data Transformation Source
columnSepBy :: IsPicture a => Numeric -> [a] -> Picture Source
setTrueBoundingBox :: IsPicture a => a -> Picture Source
transform :: IsPicture a => Transformation -> a -> Picture Source
shifted :: (Numeric, Numeric) -> Transformation Source
rotated :: Numeric -> Transformation Source
scaledX :: Numeric -> Transformation Source
scaledY :: Numeric -> Transformation Source
scaled :: Numeric -> Transformation Source
skewedX :: Numeric -> Transformation Source
skewedY :: Numeric -> Transformation Source
lastNameIsDir :: Name -> Bool Source
arrowHeadSize :: Double -> Double -> ArrowHead Source
data FrameAttrib Source
Constructors
| FrameAttrib | |
data PathElemDescr Source
Constructors
| PathElemDescr | |
Constructors
| DefaultArrowHead | |
| ArrowHead (Maybe Double) (Maybe Double) ArrowHeadStyle |
data ArrowHeadStyle Source
Instances
pathLength :: Num a => Path -> a Source
forEachPath :: (PathElemDescr -> PathElemDescr) -> Path -> Path Source
Constructors
| Tension Numeric | |
| TensionAtLeast Numeric |
getDefault :: Maybe a -> a -> a Source
Constructors
| Frame' FrameAttrib ExtentAttrib Path Picture |