reanimate-1.1.6.0: Animation library based on SVGs.
CopyrightWritten by David Himmelstrup
LicenseUnlicense
Maintainerlemmih@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Reanimate.Svg.Unuse

Description

 
Synopsis

Documentation

replaceUses :: Document -> Document Source #

Replace all use nodes with their definition.

unbox :: Document -> Tree Source #

Transform out viewbox. Definitions and CSS rules are discarded.

unboxFit :: Document -> Tree Source #

Transform out viewbox and fit image to screen size.

embedDocument :: Document -> Tree Source #

Embed Document. This keeps the entire document intact but makes it more difficult to use, say, pathify on it.