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 Source #
Instances
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 # | |
Minimal complete definition
Minimal complete definition
class HasPicture a where Source #
Minimal complete definition
Methods
fromPicture :: IsPicture b => b -> a Source #
Instances
class HasExtent a where Source #
Minimal complete definition
setWidth, removeWidth, getWidth, setHeight, removeHeight, getHeight
class HasLabel a where Source #
Minimal complete definition
class HasPattern a where Source #
Minimal complete definition
Methods
setPattern :: Pattern -> a -> a Source #
setDefaultPattern :: a -> a Source #
getPattern :: a -> Pattern Source #
Minimal complete definition
class HasArrowHead a where Source #
Minimal complete definition
setArrowHead, removeArrowHead, getArrowHead, setStartArrowHead, removeStartArrowHead, getStartArrowHead
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 #
Instances
class HasStartEndCut a where Source #
Minimal complete definition
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 #
Minimal complete definition
setStartAngle, setEndAngle, setStartCurl, setEndCurl, setStartVector, setEndVector, removeStartDir, removeEndDir
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 #
Minimal complete definition
class IsHideable a where Source #
Minimal complete definition
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 #
Constructors
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 FrameAttrib Source #
Constructors
FrameAttrib | |
data PathElemDescr Source #
Constructors
PathElemDescr | |
Instances
Constructors
PathBuildCycle Path Path | |
PathTransform Transformation Path | |
PathPoint Point | |
PathCycle | |
PathJoin Path PathElemDescr Path | |
PathEndDir Point Dir' | |
PathDefine [Equation] Path |
Instances
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 |
Constructors
AORAbs Numeric | |
AORRel Numeric | |
AORDefault |