Portability | portable |
---|---|
Stability | provisional |
Maintainer | simons@cryp.to |
Safe Haskell | Safe-Inferred |
FMP.Picture
Description
Documentation
(#) :: a -> (a -> b) -> b
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 | |
(Show [a], IsPicture a) => IsPicture [a] | |
(Show (a, b), IsPicture a, IsPicture b) => IsPicture (a, b) | |
(Show (a, b, c), IsPicture a, IsPicture b, IsPicture c) => IsPicture (a, b, c) |
class IsPath a where
class IsArea a where
class HasName a where
class HasDXY a where
Methods
class HasExtent a where
Methods
removeWidth :: a -> a
getWidth :: a -> Maybe Numeric
setHeight :: Numeric -> a -> a
removeHeight :: a -> a
class HasLabel a where
class HasPattern a where
class HasPen a where
class HasArrowHead a where
Methods
setArrowHead :: ArrowHead -> a -> a
removeArrowHead :: a -> a
getArrowHead :: a -> Maybe ArrowHead
setStartArrowHead :: ArrowHead -> a -> a
removeStartArrowHead :: a -> a
getStartArrowHead :: a -> Maybe ArrowHead
class HasStartEndCut a where
Methods
setStartCut :: IsName b => b -> a -> a
removeStartCut :: a -> a
setEndCut :: IsName b => b -> a -> a
removeEndCut :: a -> a
Instances
class HasStartEndDir a where
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
class HasJoin a where
Instances
class HasShadow a where
Instances
class HasLayer a where
class IsHideable a where
Methods
hide :: a -> a
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
unitsquare :: Path
data Picture
Constructors
data Transformation
columnSepBy :: IsPicture a => Numeric -> [a] -> Picture
class HasDefine a where
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
data Attrib
data FrameAttrib
Constructors
FrameAttrib | |
data PathElemDescr
Constructors
PathElemDescr | |
data Path
data PathLabel
data ArrowHead
Constructors
DefaultArrowHead | |
ArrowHead (Maybe Double) (Maybe Double) ArrowHeadStyle |
data ArrowHeadStyle
Instances
data CutPic
pathLength :: Num a => Path -> a
forEachPath :: (PathElemDescr -> PathElemDescr) -> Path -> Path
data Dir'
data BasicJoin
data Tension
Constructors
Tension Numeric | |
TensionAtLeast Numeric |
data Area
data AreaDescr
getDefault :: Maybe a -> a -> a
data Frame
Constructors
Frame' FrameAttrib ExtentAttrib Path Picture |