lucid-svg-0.7.0.0: DSL for SVG using lucid for HTML

Copyright | (c) 2015 Jeffrey Rosenbluth
License | BSD-style (see LICENSE)
Maintainer | jeffrey.rosenbluth@gmail.com
Safe Haskell | None
Language | Haskell2010

Lucid.Svg.Elements

Description

SVG elements.

Synopsis

- type SvgT = HtmlT
- doctype_ :: Monad m => SvgT m ()
- svg11_ :: Term [Attribute] (s -> t) => s -> t
- a_ :: Term arg result => arg -> result
- altGlyph_ :: Monad m => [Attribute] -> SvgT m ()
- altGlyphDef_ :: Monad m => [Attribute] -> SvgT m ()
- altGlyphItem_ :: Monad m => [Attribute] -> SvgT m ()
- animate_ :: Monad m => [Attribute] -> SvgT m ()
- animateColor_ :: Monad m => [Attribute] -> SvgT m ()
- animateMotion_ :: Monad m => [Attribute] -> SvgT m ()
- animateTransform_ :: Monad m => [Attribute] -> SvgT m ()
- circle_ :: Monad m => [Attribute] -> SvgT m ()
- clipPath_ :: Term arg result => arg -> result
- colorProfile_ :: Monad m => [Attribute] -> SvgT m ()
- cursor_ :: Monad m => [Attribute] -> SvgT m ()
- defs_ :: Term arg result => arg -> result
- desc_ :: Term arg result => arg -> result
- ellipse_ :: Monad m => [Attribute] -> SvgT m ()
- feBlend_ :: Monad m => [Attribute] -> SvgT m ()
- feColorMatrix_ :: Monad m => [Attribute] -> SvgT m ()
- feComponentTransfer_ :: Monad m => [Attribute] -> SvgT m ()
- feComposite_ :: Monad m => [Attribute] -> SvgT m ()
- feConvolveMatrix_ :: Monad m => [Attribute] -> SvgT m ()
- feDiffuseLighting_ :: Monad m => [Attribute] -> SvgT m ()
- feDisplacementMap_ :: Monad m => [Attribute] -> SvgT m ()
- feDistantLight_ :: Monad m => [Attribute] -> SvgT m ()
- feFlood_ :: Monad m => [Attribute] -> SvgT m ()
- feFuncA_ :: Monad m => [Attribute] -> SvgT m ()
- feFuncB_ :: Monad m => [Attribute] -> SvgT m ()
- feFuncG_ :: Monad m => [Attribute] -> SvgT m ()
- feFuncR_ :: Monad m => [Attribute] -> SvgT m ()
- feGaussianBlur_ :: Monad m => [Attribute] -> SvgT m ()
- feImage_ :: Monad m => [Attribute] -> SvgT m ()
- feMerge_ :: Monad m => [Attribute] -> SvgT m ()
- feMergeNode_ :: Monad m => [Attribute] -> SvgT m ()
- feMorphology_ :: Monad m => [Attribute] -> SvgT m ()
- feOffset_ :: Monad m => [Attribute] -> SvgT m ()
- fePointLight_ :: Monad m => [Attribute] -> SvgT m ()
- feSpecularLighting_ :: Monad m => [Attribute] -> SvgT m ()
- feSpotLight_ :: Monad m => [Attribute] -> SvgT m ()
- feTile_ :: Monad m => [Attribute] -> SvgT m ()
- feTurbulence_ :: Monad m => [Attribute] -> SvgT m ()
- filter_ :: Monad m => [Attribute] -> SvgT m ()
- font_ :: Monad m => [Attribute] -> SvgT m ()
- fontFace_ :: Monad m => [Attribute] -> SvgT m ()
- fontFaceFormat_ :: Monad m => [Attribute] -> SvgT m ()
- fontFaceName_ :: Monad m => [Attribute] -> SvgT m ()
- fontFaceSrc_ :: Monad m => [Attribute] -> SvgT m ()
- fontFaceUri_ :: Monad m => [Attribute] -> SvgT m ()
- foreignObject_ :: Monad m => [Attribute] -> SvgT m ()
- g_ :: Term arg result => arg -> result
- glyph_ :: Term arg result => arg -> result
- glyphRef_ :: Monad m => [Attribute] -> SvgT m ()
- hkern_ :: Monad m => [Attribute] -> SvgT m ()
- image_ :: Monad m => [Attribute] -> SvgT m ()
- line_ :: Monad m => [Attribute] -> SvgT m ()
- linearGradient_ :: Term arg result => arg -> result
- marker_ :: Term arg result => arg -> result
- mask_ :: Term arg result => arg -> result
- metadata_ :: Monad m => [Attribute] -> SvgT m ()
- missingGlyph_ :: Term arg result => arg -> result
- mpath_ :: Monad m => [Attribute] -> SvgT m ()
- path_ :: Monad m => [Attribute] -> SvgT m ()
- pattern_ :: Term arg result => arg -> result
- polygon_ :: Monad m => [Attribute] -> SvgT m ()
- polyline_ :: Monad m => [Attribute] -> SvgT m ()
- radialGradient_ :: Term arg result => arg -> result
- rect_ :: Monad m => [Attribute] -> SvgT m ()
- script_ :: Monad m => [Attribute] -> SvgT m ()
- set_ :: Monad m => [Attribute] -> SvgT m ()
- stop_ :: Monad m => [Attribute] -> SvgT m ()
- style_ :: Monad m => [Attribute] -> SvgT m ()
- svg_ :: Term arg result => arg -> result
- switch_ :: Term arg result => arg -> result
- symbol_ :: Term arg result => arg -> result
- text_ :: Term arg result => arg -> result
- textPath_ :: Term arg result => arg -> result
- title_ :: Term arg result => arg -> result
- tref_ :: Monad m => [Attribute] -> SvgT m ()
- tspan_ :: Monad m => [Attribute] -> SvgT m ()
- use_ :: Monad m => [Attribute] -> SvgT m ()
- view_ :: Monad m => [Attribute] -> SvgT m ()
- vkern_ :: Monad m => [Attribute] -> SvgT m ()

# Documentation

type SvgT = HtmlT Source #

A type alias for the 'SvgT m a' monad transformer.

doctype_ :: Monad m => SvgT m () Source #

`DOCTYPE` element

svg11_ :: Term [Attribute] (s -> t) => s -> t Source #

`svg` element + svg 1.1 attributes

a_ :: Term arg result => arg -> result Source #

`a` element

altGlyph_ :: Monad m => [Attribute] -> SvgT m () Source #

`altglyph` element

altGlyphDef_ :: Monad m => [Attribute] -> SvgT m () Source #

`altglyphdef` element

altGlyphItem_ :: Monad m => [Attribute] -> SvgT m () Source #

`altglyphitem` element

animate_ :: Monad m => [Attribute] -> SvgT m () Source #

`animate` element

animateColor_ :: Monad m => [Attribute] -> SvgT m () Source #

`animatecolor` element

animateMotion_ :: Monad m => [Attribute] -> SvgT m () Source #

`animatemotion` element

animateTransform_ :: Monad m => [Attribute] -> SvgT m () Source #

`animatetransform` element

circle_ :: Monad m => [Attribute] -> SvgT m () Source #

`circle` element

clipPath_ :: Term arg result => arg -> result Source #

`clipPath` element or attribute

colorProfile_ :: Monad m => [Attribute] -> SvgT m () Source #

`colorProfile` element

cursor_ :: Monad m => [Attribute] -> SvgT m () Source #

`cursor` element

defs_ :: Term arg result => arg -> result Source #

`defs` element

desc_ :: Term arg result => arg -> result Source #

`desc` element

ellipse_ :: Monad m => [Attribute] -> SvgT m () Source #

`ellipse` element

feBlend_ :: Monad m => [Attribute] -> SvgT m () Source #

`feblend` element

feColorMatrix_ :: Monad m => [Attribute] -> SvgT m () Source #

`fecolormatrix` element

feComponentTransfer_ :: Monad m => [Attribute] -> SvgT m () Source #

`fecomponenttransfer` element

feComposite_ :: Monad m => [Attribute] -> SvgT m () Source #

`fecomposite` element

feConvolveMatrix_ :: Monad m => [Attribute] -> SvgT m () Source #

`feconvolvematrix` element

feDiffuseLighting_ :: Monad m => [Attribute] -> SvgT m () Source #

`fediffuselighting` element

feDisplacementMap_ :: Monad m => [Attribute] -> SvgT m () Source #

`fedisplacementmap` element

feDistantLight_ :: Monad m => [Attribute] -> SvgT m () Source #

`fedistantlight` element

feFlood_ :: Monad m => [Attribute] -> SvgT m () Source #

`feflood` element

feFuncA_ :: Monad m => [Attribute] -> SvgT m () Source #

`fefunca` element

feFuncB_ :: Monad m => [Attribute] -> SvgT m () Source #

`fefuncb` element

feFuncG_ :: Monad m => [Attribute] -> SvgT m () Source #

`fefuncg` element

feFuncR_ :: Monad m => [Attribute] -> SvgT m () Source #

`fefuncr` element

feGaussianBlur_ :: Monad m => [Attribute] -> SvgT m () Source #

`fegaussianblur` element

feImage_ :: Monad m => [Attribute] -> SvgT m () Source #

`feimage` element

feMerge_ :: Monad m => [Attribute] -> SvgT m () Source #

`femerge` element

feMergeNode_ :: Monad m => [Attribute] -> SvgT m () Source #

`femergenode` element

feMorphology_ :: Monad m => [Attribute] -> SvgT m () Source #

`femorphology` element

feOffset_ :: Monad m => [Attribute] -> SvgT m () Source #

`feoffset` element

fePointLight_ :: Monad m => [Attribute] -> SvgT m () Source #

`fepointlight` element

feSpecularLighting_ :: Monad m => [Attribute] -> SvgT m () Source #

`fespecularlighting` element

feSpotLight_ :: Monad m => [Attribute] -> SvgT m () Source #

`fespotlight` element

feTile_ :: Monad m => [Attribute] -> SvgT m () Source #

`fetile` element

feTurbulence_ :: Monad m => [Attribute] -> SvgT m () Source #

`feturbulence` element

filter_ :: Monad m => [Attribute] -> SvgT m () Source #

`filter_` element

font_ :: Monad m => [Attribute] -> SvgT m () Source #

`font` element

fontFace_ :: Monad m => [Attribute] -> SvgT m () Source #

`fontFace` element

fontFaceFormat_ :: Monad m => [Attribute] -> SvgT m () Source #

`fontFaceFormat` element

fontFaceName_ :: Monad m => [Attribute] -> SvgT m () Source #

`fontFaceName` element

fontFaceSrc_ :: Monad m => [Attribute] -> SvgT m () Source #

`fontFaceSrc` element

fontFaceUri_ :: Monad m => [Attribute] -> SvgT m () Source #

`fontFaceUri` element

foreignObject_ :: Monad m => [Attribute] -> SvgT m () Source #

`foreignobject` element

g_ :: Term arg result => arg -> result Source #

`g` element

glyph_ :: Term arg result => arg -> result Source #

`glyph` element or attribute

glyphRef_ :: Monad m => [Attribute] -> SvgT m () Source #

`glyphref` element

hkern_ :: Monad m => [Attribute] -> SvgT m () Source #

`hkern` element

image_ :: Monad m => [Attribute] -> SvgT m () Source #

`image` element

line_ :: Monad m => [Attribute] -> SvgT m () Source #

`line` element

linearGradient_ :: Term arg result => arg -> result Source #

`lineargradient` element

marker_ :: Term arg result => arg -> result Source #

`marker` element

mask_ :: Term arg result => arg -> result Source #

`mask` element or attribute

metadata_ :: Monad m => [Attribute] -> SvgT m () Source #

`metadata` element

missingGlyph_ :: Term arg result => arg -> result Source #

`missingGlyph` element

mpath_ :: Monad m => [Attribute] -> SvgT m () Source #

`mpath` element

path_ :: Monad m => [Attribute] -> SvgT m () Source #

`path` element

pattern_ :: Term arg result => arg -> result Source #

`pattern` element

polygon_ :: Monad m => [Attribute] -> SvgT m () Source #

`polygon` element

polyline_ :: Monad m => [Attribute] -> SvgT m () Source #

`polyline` element

radialGradient_ :: Term arg result => arg -> result Source #

`radialgradient` element

rect_ :: Monad m => [Attribute] -> SvgT m () Source #

`rect` element

script_ :: Monad m => [Attribute] -> SvgT m () Source #

`script` element

set_ :: Monad m => [Attribute] -> SvgT m () Source #

`set` element

stop_ :: Monad m => [Attribute] -> SvgT m () Source #

`stop` element

style_ :: Monad m => [Attribute] -> SvgT m () Source #

`style` element

svg_ :: Term arg result => arg -> result Source #

`svg` element

switch_ :: Term arg result => arg -> result Source #

`switch` element

symbol_ :: Term arg result => arg -> result Source #

`symbol` element

text_ :: Term arg result => arg -> result Source #

`text_` element

textPath_ :: Term arg result => arg -> result Source #

`textpath` element

title_ :: Term arg result => arg -> result Source #

`title` element

tref_ :: Monad m => [Attribute] -> SvgT m () Source #

`tref` element

tspan_ :: Monad m => [Attribute] -> SvgT m () Source #

`tspan` element

use_ :: Monad m => [Attribute] -> SvgT m () Source #

`use` element

view_ :: Monad m => [Attribute] -> SvgT m () Source #

`view` element

vkern_ :: Monad m => [Attribute] -> SvgT m () Source #

`vkern` element