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 |
Documentation
class Show a => IsPicture a where Source #
IsPicture Char Source # | |
IsPicture Int Source # | |
IsPicture Integer Source # | |
IsPicture () Source # | |
IsPicture Numeric Source # | |
IsPicture Frame Source # | |
IsPicture Area Source # | |
IsPicture Path Source # | |
IsPicture Picture Source # | |
IsPicture Tree Source # | |
IsPicture Canvas Source # | |
IsPicture Turtle Source # | |
IsPicture a => IsPicture [a] Source # | |
(IsPicture a, IsPicture b) => IsPicture (a, b) Source # | |
(IsPicture a, IsPicture b, IsPicture c) => IsPicture (a, b, c) Source # | |
class HasPicture a where Source #
fromPicture :: IsPicture b => b -> a Source #
class HasPattern a where Source #
setPattern :: Pattern -> a -> a Source #
setDefaultPattern :: a -> a Source #
getPattern :: a -> Pattern Source #
class HasArrowHead a where Source #
setArrowHead, removeArrowHead, getArrowHead, setStartArrowHead, removeStartArrowHead, getStartArrowHead
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 #
setStartCut :: IsName b => b -> a -> a Source #
removeStartCut :: a -> a Source #
setEndCut :: IsName b => b -> a -> a Source #
removeEndCut :: a -> a Source #
class HasStartEndDir a where Source #
setStartAngle, setEndAngle, setStartCurl, setEndCurl, setStartVector, setEndVector, removeStartDir, removeEndDir
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 #
class IsHideable a where Source #
joinTension :: Tension -> BasicJoin Source #
joinControl :: Point -> BasicJoin Source #
tensionAtLeast :: Numeric -> Tension Source #
transformPath :: Transformation -> Path -> Path Source #
fullcircle :: Path Source #
halfcircle :: Path Source #
quartercircle :: Path Source #
unitsquare :: Path Source #
data Transformation Source #
setTrueBoundingBox :: IsPicture a => a -> Picture 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 #
setArrowHeadStyle :: ArrowHeadStyle -> ArrowHead -> ArrowHead Source #
data PathElemDescr Source #
PathBuildCycle Path Path | |
PathTransform Transformation Path | |
PathPoint Point | |
PathCycle | |
PathJoin Path PathElemDescr Path | |
PathEndDir Point Dir' | |
PathDefine [Equation] Path |
data ArrowHeadStyle Source #
pathLength :: Num a => Path -> a Source #
forEachPath :: (PathElemDescr -> PathElemDescr) -> Path -> Path Source #
getDefault :: Maybe a -> a -> a Source #