packages feed

reanimate-svg 0.10.2.0 → 0.10.3.0

raw patch · 3 files changed

+92/−73 lines, 3 filesdep +hashablePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: hashable

API changes (from Hackage documentation)

+ Graphics.SvgTree.CssTypes: instance Data.Hashable.Class.Hashable Graphics.SvgTree.CssTypes.Number
+ Graphics.SvgTree.CssTypes: instance GHC.Generics.Generic Graphics.SvgTree.CssTypes.Number
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Codec.Picture.Types.PixelRGBA8
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Alignment
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Cap
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.ChannelSelector
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Circle
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.ClipPath
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.ColorMatrix
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.ColorMatrixType
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Composite
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.CompositeOperator
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.CoordinateUnits
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.DisplacementMap
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Document
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.DrawAttributes
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.EdgeMode
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Element
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.ElementRef
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Ellipse
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.FillRule
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Filter
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.FilterAttributes
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.FilterElement
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.FilterSource
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.FontStyle
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.GaussianBlur
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.GradientPathCommand
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.GradientStop
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Image
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Line
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.LineJoin
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.LinearGradient
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Marker
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MarkerOrientation
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MarkerUnit
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Mask
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MeetSlice
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MeshGradient
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MeshGradientPatch
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MeshGradientRow
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.MeshGradientType
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Origin
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Overflow
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Path
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.PathCommand
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Pattern
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.PolyLine
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Polygon
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.PreserveAspectRatio
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.RadialGradient
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Rectangle
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Spread
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.StitchTiles
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Text
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextAdjust
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextAnchor
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextInfo
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextPath
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextPathMethod
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextPathSpacing
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextSpan
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TextSpanContent
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Texture
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TransferFunction
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TransferFunctionType
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Transformation
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Tree
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Turbulence
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.TurbulenceType
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable Graphics.SvgTree.Types.Use
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable a => Data.Hashable.Class.Hashable (Data.Monoid.Last a)
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable a => Data.Hashable.Class.Hashable (Graphics.SvgTree.Types.Definitions a)
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable a => Data.Hashable.Class.Hashable (Graphics.SvgTree.Types.Group a)
+ Graphics.SvgTree.Types: instance Data.Hashable.Class.Hashable a => Data.Hashable.Class.Hashable (Graphics.SvgTree.Types.Symbol a)
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic (Graphics.SvgTree.Types.Definitions a)
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic (Graphics.SvgTree.Types.Group a)
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic (Graphics.SvgTree.Types.Symbol a)
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Codec.Picture.Types.PixelRGBA8
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Alignment
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Cap
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.ChannelSelector
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Circle
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.ClipPath
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.ColorMatrix
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.ColorMatrixType
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Composite
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.CompositeOperator
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.CoordinateUnits
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.DisplacementMap
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Document
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.DrawAttributes
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.EdgeMode
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Element
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.ElementRef
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Ellipse
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.FillRule
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Filter
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.FilterAttributes
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.FilterElement
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.FilterSource
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.FontStyle
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.GaussianBlur
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.GradientPathCommand
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.GradientStop
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Image
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Line
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.LineJoin
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.LinearGradient
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Marker
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MarkerOrientation
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MarkerUnit
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Mask
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MeetSlice
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MeshGradient
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MeshGradientPatch
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MeshGradientRow
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.MeshGradientType
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Origin
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Overflow
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Path
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.PathCommand
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Pattern
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.PolyLine
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Polygon
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.PreserveAspectRatio
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.RadialGradient
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Rectangle
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Spread
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.StitchTiles
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Text
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextAdjust
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextAnchor
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextInfo
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextPath
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextPathMethod
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextPathSpacing
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextSpan
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TextSpanContent
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Texture
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TransferFunction
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TransferFunctionType
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Transformation
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Tree
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Turbulence
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.TurbulenceType
+ Graphics.SvgTree.Types: instance GHC.Generics.Generic Graphics.SvgTree.Types.Use
- Graphics.SvgTree.Types: attrClass :: HasDrawAttributes c_apWB => Lens' c_apWB [Text]
+ Graphics.SvgTree.Types: attrClass :: HasDrawAttributes c_auRl => Lens' c_auRl [Text]
- Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apWB => Lens' c_apWB (Maybe String)
+ Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_auRl => Lens' c_auRl (Maybe String)
- Graphics.SvgTree.Types: class HasColorMatrix c_aztE
+ Graphics.SvgTree.Types: class HasColorMatrix c_aIJb
- Graphics.SvgTree.Types: class HasComposite c_azkn
+ Graphics.SvgTree.Types: class HasComposite c_aIzU
- Graphics.SvgTree.Types: class HasDisplacementMap c_azMd
+ Graphics.SvgTree.Types: class HasDisplacementMap c_aJ1K
- Graphics.SvgTree.Types: class HasDocument c_aywf
+ Graphics.SvgTree.Types: class HasDocument c_aHLS
- Graphics.SvgTree.Types: class HasDrawAttributes c_apWB
+ Graphics.SvgTree.Types: class HasDrawAttributes c_auRl
- Graphics.SvgTree.Types: class HasGaussianBlur c_azyR
+ Graphics.SvgTree.Types: class HasGaussianBlur c_aIOo
- Graphics.SvgTree.Types: class HasTextPath c_az8x
+ Graphics.SvgTree.Types: class HasTextPath c_aIo4
- Graphics.SvgTree.Types: class HasTurbulence c_azF2
+ Graphics.SvgTree.Types: class HasTurbulence c_aIUz
- Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apWB => Lens' c_apWB (Last ElementRef)
+ Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_auRl => Lens' c_auRl (Last ElementRef)
- Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apWB => Lens' c_apWB (Last FillRule)
+ Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_auRl => Lens' c_auRl (Last FillRule)
- Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_aztE => Lens' c_aztE ColorMatrix
+ Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_aIJb => Lens' c_aIJb ColorMatrix
- Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_aztE => Lens' c_aztE DrawAttributes
+ Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_aIJb => Lens' c_aIJb DrawAttributes
- Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_aztE => Lens' c_aztE FilterAttributes
+ Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_aIJb => Lens' c_aIJb FilterAttributes
- Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_aztE => Lens' c_aztE (Last FilterSource)
+ Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_aIJb => Lens' c_aIJb (Last FilterSource)
- Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_aztE => Lens' c_aztE ColorMatrixType
+ Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_aIJb => Lens' c_aIJb ColorMatrixType
- Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_aztE => Lens' c_aztE String
+ Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_aIJb => Lens' c_aIJb String
- Graphics.SvgTree.Types: composite :: HasComposite c_azkn => Lens' c_azkn Composite
+ Graphics.SvgTree.Types: composite :: HasComposite c_aIzU => Lens' c_aIzU Composite
- Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_azkn => Lens' c_azkn DrawAttributes
+ Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_aIzU => Lens' c_aIzU DrawAttributes
- Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_azkn => Lens' c_azkn FilterAttributes
+ Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_aIzU => Lens' c_aIzU FilterAttributes
- Graphics.SvgTree.Types: compositeIn :: HasComposite c_azkn => Lens' c_azkn (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn :: HasComposite c_aIzU => Lens' c_aIzU (Last FilterSource)
- Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_azkn => Lens' c_azkn (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_aIzU => Lens' c_aIzU (Last FilterSource)
- Graphics.SvgTree.Types: compositeK1 :: HasComposite c_azkn => Lens' c_azkn Number
+ Graphics.SvgTree.Types: compositeK1 :: HasComposite c_aIzU => Lens' c_aIzU Number
- Graphics.SvgTree.Types: compositeK2 :: HasComposite c_azkn => Lens' c_azkn Number
+ Graphics.SvgTree.Types: compositeK2 :: HasComposite c_aIzU => Lens' c_aIzU Number
- Graphics.SvgTree.Types: compositeK3 :: HasComposite c_azkn => Lens' c_azkn Number
+ Graphics.SvgTree.Types: compositeK3 :: HasComposite c_aIzU => Lens' c_aIzU Number
- Graphics.SvgTree.Types: compositeK4 :: HasComposite c_azkn => Lens' c_azkn Number
+ Graphics.SvgTree.Types: compositeK4 :: HasComposite c_aIzU => Lens' c_aIzU Number
- Graphics.SvgTree.Types: compositeOperator :: HasComposite c_azkn => Lens' c_azkn CompositeOperator
+ Graphics.SvgTree.Types: compositeOperator :: HasComposite c_aIzU => Lens' c_aIzU CompositeOperator
- Graphics.SvgTree.Types: description :: HasDocument c_aywf => Lens' c_aywf String
+ Graphics.SvgTree.Types: description :: HasDocument c_aHLS => Lens' c_aHLS String
- Graphics.SvgTree.Types: displacementMap :: HasDisplacementMap c_azMd => Lens' c_azMd DisplacementMap
+ Graphics.SvgTree.Types: displacementMap :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K DisplacementMap
- Graphics.SvgTree.Types: displacementMapDrawAttributes :: HasDisplacementMap c_azMd => Lens' c_azMd DrawAttributes
+ Graphics.SvgTree.Types: displacementMapDrawAttributes :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K DrawAttributes
- Graphics.SvgTree.Types: displacementMapFilterAttr :: HasDisplacementMap c_azMd => Lens' c_azMd FilterAttributes
+ Graphics.SvgTree.Types: displacementMapFilterAttr :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K FilterAttributes
- Graphics.SvgTree.Types: displacementMapIn :: HasDisplacementMap c_azMd => Lens' c_azMd (Last FilterSource)
+ Graphics.SvgTree.Types: displacementMapIn :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K (Last FilterSource)
- Graphics.SvgTree.Types: displacementMapIn2 :: HasDisplacementMap c_azMd => Lens' c_azMd (Last FilterSource)
+ Graphics.SvgTree.Types: displacementMapIn2 :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K (Last FilterSource)
- Graphics.SvgTree.Types: displacementMapScale :: HasDisplacementMap c_azMd => Lens' c_azMd (Last Double)
+ Graphics.SvgTree.Types: displacementMapScale :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K (Last Double)
- Graphics.SvgTree.Types: displacementMapXChannelSelector :: HasDisplacementMap c_azMd => Lens' c_azMd ChannelSelector
+ Graphics.SvgTree.Types: displacementMapXChannelSelector :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K ChannelSelector
- Graphics.SvgTree.Types: displacementMapYChannelSelector :: HasDisplacementMap c_azMd => Lens' c_azMd ChannelSelector
+ Graphics.SvgTree.Types: displacementMapYChannelSelector :: HasDisplacementMap c_aJ1K => Lens' c_aJ1K ChannelSelector
- Graphics.SvgTree.Types: document :: HasDocument c_aywf => Lens' c_aywf Document
+ Graphics.SvgTree.Types: document :: HasDocument c_aHLS => Lens' c_aHLS Document
- Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_aywf => Lens' c_aywf PreserveAspectRatio
+ Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_aHLS => Lens' c_aHLS PreserveAspectRatio
- Graphics.SvgTree.Types: documentLocation :: HasDocument c_aywf => Lens' c_aywf FilePath
+ Graphics.SvgTree.Types: documentLocation :: HasDocument c_aHLS => Lens' c_aHLS FilePath
- Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apWB => Lens' c_apWB DrawAttributes
+ Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_auRl => Lens' c_auRl DrawAttributes
- Graphics.SvgTree.Types: elements :: HasDocument c_aywf => Lens' c_aywf [Tree]
+ Graphics.SvgTree.Types: elements :: HasDocument c_aHLS => Lens' c_aHLS [Tree]
- Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Texture)
+ Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Texture)
- Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apWB => Lens' c_apWB (Maybe Float)
+ Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_auRl => Lens' c_auRl (Maybe Float)
- Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apWB => Lens' c_apWB (Last FillRule)
+ Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_auRl => Lens' c_auRl (Last FillRule)
- Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apWB => Lens' c_apWB (Last ElementRef)
+ Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_auRl => Lens' c_auRl (Last ElementRef)
- Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apWB => Lens' c_apWB (Last [String])
+ Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_auRl => Lens' c_auRl (Last [String])
- Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Number)
+ Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Number)
- Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apWB => Lens' c_apWB (Last FontStyle)
+ Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_auRl => Lens' c_auRl (Last FontStyle)
- Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_azyR => Lens' c_azyR GaussianBlur
+ Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_aIOo => Lens' c_aIOo GaussianBlur
- Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_azyR => Lens' c_azyR DrawAttributes
+ Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_aIOo => Lens' c_aIOo DrawAttributes
- Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_azyR => Lens' c_azyR EdgeMode
+ Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_aIOo => Lens' c_aIOo EdgeMode
- Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_azyR => Lens' c_azyR FilterAttributes
+ Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_aIOo => Lens' c_aIOo FilterAttributes
- Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_azyR => Lens' c_azyR (Last FilterSource)
+ Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_aIOo => Lens' c_aIOo (Last FilterSource)
- Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_azyR => Lens' c_azyR Number
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_aIOo => Lens' c_aIOo Number
- Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_azyR => Lens' c_azyR (Last Number)
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_aIOo => Lens' c_aIOo (Last Number)
- Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apWB => Lens' c_apWB (Maybe Float)
+ Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_auRl => Lens' c_auRl (Maybe Float)
- Graphics.SvgTree.Types: height :: HasDocument c_aywf => Lens' c_aywf (Maybe Number)
+ Graphics.SvgTree.Types: height :: HasDocument c_aHLS => Lens' c_aHLS (Maybe Number)
- Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apWB => Lens' c_apWB (Last ElementRef)
+ Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_auRl => Lens' c_auRl (Last ElementRef)
- Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apWB => Lens' c_apWB (Last ElementRef)
+ Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_auRl => Lens' c_auRl (Last ElementRef)
- Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apWB => Lens' c_apWB (Last ElementRef)
+ Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_auRl => Lens' c_auRl (Last ElementRef)
- Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apWB => Lens' c_apWB (Last ElementRef)
+ Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_auRl => Lens' c_auRl (Last ElementRef)
- Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apWB => Lens' c_apWB (Maybe String)
+ Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_auRl => Lens' c_auRl (Maybe String)
- Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Texture)
+ Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Texture)
- Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apWB => Lens' c_apWB (Last [Number])
+ Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_auRl => Lens' c_auRl (Last [Number])
- Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Cap)
+ Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Cap)
- Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apWB => Lens' c_apWB (Last LineJoin)
+ Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_auRl => Lens' c_auRl (Last LineJoin)
- Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Double)
+ Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Double)
- Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Number)
+ Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Number)
- Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apWB => Lens' c_apWB (Maybe Float)
+ Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_auRl => Lens' c_auRl (Maybe Float)
- Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apWB => Lens' c_apWB (Last Number)
+ Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_auRl => Lens' c_auRl (Last Number)
- Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apWB => Lens' c_apWB (Last TextAnchor)
+ Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_auRl => Lens' c_auRl (Last TextAnchor)
- Graphics.SvgTree.Types: textPath :: HasTextPath c_az8x => Lens' c_az8x TextPath
+ Graphics.SvgTree.Types: textPath :: HasTextPath c_aIo4 => Lens' c_aIo4 TextPath
- Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_az8x => Lens' c_az8x TextPathMethod
+ Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_aIo4 => Lens' c_aIo4 TextPathMethod
- Graphics.SvgTree.Types: textPathName :: HasTextPath c_az8x => Lens' c_az8x String
+ Graphics.SvgTree.Types: textPathName :: HasTextPath c_aIo4 => Lens' c_aIo4 String
- Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_az8x => Lens' c_az8x TextPathSpacing
+ Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_aIo4 => Lens' c_aIo4 TextPathSpacing
- Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_az8x => Lens' c_az8x Number
+ Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_aIo4 => Lens' c_aIo4 Number
- Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apWB => Lens' c_apWB (Maybe [Transformation])
+ Graphics.SvgTree.Types: transform :: HasDrawAttributes c_auRl => Lens' c_auRl (Maybe [Transformation])
- Graphics.SvgTree.Types: turbulence :: HasTurbulence c_azF2 => Lens' c_azF2 Turbulence
+ Graphics.SvgTree.Types: turbulence :: HasTurbulence c_aIUz => Lens' c_aIUz Turbulence
- Graphics.SvgTree.Types: turbulenceBaseFrequency :: HasTurbulence c_azF2 => Lens' c_azF2 (Double, Last Double)
+ Graphics.SvgTree.Types: turbulenceBaseFrequency :: HasTurbulence c_aIUz => Lens' c_aIUz (Double, Last Double)
- Graphics.SvgTree.Types: turbulenceDrawAttributes :: HasTurbulence c_azF2 => Lens' c_azF2 DrawAttributes
+ Graphics.SvgTree.Types: turbulenceDrawAttributes :: HasTurbulence c_aIUz => Lens' c_aIUz DrawAttributes
- Graphics.SvgTree.Types: turbulenceFilterAttr :: HasTurbulence c_azF2 => Lens' c_azF2 FilterAttributes
+ Graphics.SvgTree.Types: turbulenceFilterAttr :: HasTurbulence c_aIUz => Lens' c_aIUz FilterAttributes
- Graphics.SvgTree.Types: turbulenceNumOctaves :: HasTurbulence c_azF2 => Lens' c_azF2 Int
+ Graphics.SvgTree.Types: turbulenceNumOctaves :: HasTurbulence c_aIUz => Lens' c_aIUz Int
- Graphics.SvgTree.Types: turbulenceSeed :: HasTurbulence c_azF2 => Lens' c_azF2 Double
+ Graphics.SvgTree.Types: turbulenceSeed :: HasTurbulence c_aIUz => Lens' c_aIUz Double
- Graphics.SvgTree.Types: turbulenceStitchTiles :: HasTurbulence c_azF2 => Lens' c_azF2 StitchTiles
+ Graphics.SvgTree.Types: turbulenceStitchTiles :: HasTurbulence c_aIUz => Lens' c_aIUz StitchTiles
- Graphics.SvgTree.Types: turbulenceType :: HasTurbulence c_azF2 => Lens' c_azF2 TurbulenceType
+ Graphics.SvgTree.Types: turbulenceType :: HasTurbulence c_aIUz => Lens' c_aIUz TurbulenceType
- Graphics.SvgTree.Types: viewBox :: HasDocument c_aywf => Lens' c_aywf (Maybe (Double, Double, Double, Double))
+ Graphics.SvgTree.Types: viewBox :: HasDocument c_aHLS => Lens' c_aHLS (Maybe (Double, Double, Double, Double))
- Graphics.SvgTree.Types: width :: HasDocument c_aywf => Lens' c_aywf (Maybe Number)
+ Graphics.SvgTree.Types: width :: HasDocument c_aHLS => Lens' c_aHLS (Maybe Number)

Files

reanimate-svg.cabal view
@@ -1,5 +1,5 @@ name:                reanimate-svg-version:             0.10.2.0+version:             0.10.3.0 synopsis:            SVG file loader and serializer description:   reanimate-svg provides types representing a SVG document,@@ -62,6 +62,7 @@                , mtl        >= 2.1 && < 2.3                , lens       >= 4.6 && < 5                , double-conversion >= 2.0.0.0 && < 3.0.0.0+               , hashable >= 1.3.0.0  test-suite test   default-language: Haskell2010
src/Graphics/SvgTree/CssTypes.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DeriveAnyClass #-} {-# LANGUAGE CPP               #-} {-# LANGUAGE OverloadedStrings #-} -- | Define the types used to describes CSS elements@@ -24,10 +26,12 @@ import           Data.Monoid            (mconcat) #endif +import           Data.Hashable          (Hashable) import           Data.List              (intersperse) import           Data.Monoid            ((<>)) import qualified Data.Text              as T import qualified Data.Text.Lazy.Builder as TB+import           GHC.Generics           (Generic) import           Text.Printf  import           Codec.Picture          (PixelRGBA8 (..))@@ -195,7 +199,7 @@   | Cm Double        -- ^ Number in centimeters, relative to DPI.   | Point Double     -- ^ Number in points, relative to DPI.   | Inches Double    -- ^ Number in inches, relative to DPI.-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Helper function to modify inner value of a number mapNumber :: (Double -> Double) -> Number -> Number
src/Graphics/SvgTree/Types.hs view
@@ -1,4 +1,8 @@+{-# OPTIONS_GHC -Wno-orphans -O0 #-}+{-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE CPP                    #-}+{-# LANGUAGE DeriveAnyClass #-}+{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleInstances      #-} {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE MultiParamTypeClasses  #-}@@ -222,16 +226,25 @@ import           Control.Lens.TH import qualified Data.Foldable             as F import           Data.Function             (on)+import           Data.Hashable             (Hashable) import           Data.List                 (inits) import           Data.Monoid               (Last (..)) import           Data.Semigroup            (Semigroup (..)) import qualified Data.Text                 as T+import           GHC.Generics              (Generic) import           Graphics.SvgTree.CssTypes import           Graphics.SvgTree.Misc import           Linear                    hiding (angle)  import           Text.Printf ++-- Orphan instances :(+instance Hashable a => Hashable (Last a)++deriving instance Generic PixelRGBA8+instance Hashable PixelRGBA8+ -- | Basic coordinate type. type Coord = Double @@ -247,12 +260,13 @@ data Origin   = OriginAbsolute -- ^ Next point in absolute coordinate   | OriginRelative -- ^ Next point relative to the previous-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable) + data MeshGradientType   = GradientBilinear   | GradientBicubic-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Path command definition. data PathCommand@@ -278,7 +292,7 @@     | EllipticalArc !Origin ![(Coord, Coord, Coord, Bool, Bool, RPoint)]       -- | Close the path, 'Z' or 'z' svg path command.     | EndPath-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Description of path used in meshgradient tag data GradientPathCommand@@ -288,7 +302,7 @@     | GCurve !Origin !RPoint !RPoint !(Maybe RPoint)       -- | 'Z' command     | GClose-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Little helper function to build a point. toPoint :: Number -> Number -> Point@@ -308,7 +322,7 @@ data CoordinateUnits     = CoordUserSpace   -- ^ `userSpaceOnUse` value     | CoordBoundingBox -- ^ `objectBoundingBox` value-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | This type represent the align information of the -- preserveAspectRatio SVGattribute@@ -323,12 +337,12 @@   | AlignxMinYMax -- ^ "xMinYMax" value   | AlignxMidYMax -- ^ "xMidYMax" value   | AlignxMaxYMax -- ^ "xMaxYMax" value-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | This type represent the "meet or slice" information -- of the preserveAspectRatio SVGattribute data MeetSlice = Meet | Slice-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Describe the content of the preserveAspectRatio attribute. data PreserveAspectRatio = PreserveAspectRatio@@ -336,7 +350,7 @@   , _aspectRatioAlign     :: !Alignment   , _aspectRatioMeetSlice :: !(Maybe MeetSlice)   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  instance WithDefaultSvg PreserveAspectRatio where   defaultSvg = PreserveAspectRatio@@ -353,7 +367,7 @@   = CapRound -- ^ End with a round (`round` value)   | CapButt  -- ^ Define straight just at the end (`butt` value)   | CapSquare -- ^ Straight further of the ends (`square` value)-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Define the possible values of the `stroke-linejoin` -- attribute.@@ -362,7 +376,7 @@     = JoinMiter -- ^ `miter` value     | JoinBevel -- ^ `bevel` value     | JoinRound -- ^ `round` value-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Describe the different value which can be used -- in the `fill` or `stroke` attributes.@@ -370,14 +384,14 @@   = ColorRef   PixelRGBA8 -- ^ Direct solid color (#rrggbb, #rgb)   | TextureRef String     -- ^ Link to a complex texture (url(#name))   | FillNone              -- ^ Equivalent to the `none` value.-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Describe the possile filling algorithms. -- Map the values of the `fill-rule` attributes. data FillRule     = FillEvenOdd -- ^ Correspond to the `evenodd` value.     | FillNonZero -- ^ Correspond to the `nonzero` value.-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Describe the content of the `transformation` attribute. -- see `_transform` and `transform`.@@ -398,7 +412,7 @@     | SkewY !Double       -- | Unkown transformation, like identity.     | TransformUnknown-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Convert the Transformation to a string which can be -- directly used in a svg attributes.@@ -435,7 +449,7 @@   = FontStyleNormal   | FontStyleItalic   | FontStyleOblique-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Tell where to anchor the text, where the position -- given is realative to the text.@@ -461,7 +475,7 @@     --     -- Equivalent to the `end` value.   | TextAnchorEnd-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)   -- | Correspond to the possible values of the@@ -470,7 +484,7 @@ data ElementRef   = RefNone  -- ^ Value for `none`   | Ref String -- ^ Equivalent to `url()` attribute.-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  data FilterSource   = SourceGraphic@@ -480,7 +494,7 @@   | FillPaint   | StrokePaint   | SourceRef String-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  data FilterAttributes = FilterAttributes   { _filterHeight :: !(Last Number)@@ -488,7 +502,7 @@   , _filterWidth  :: !(Last Number)   , _filterX      :: !(Last Number)   , _filterY      :: !(Last Number)-  } deriving (Eq, Show)+  } deriving (Eq, Show, Generic, Hashable)  instance WithDefaultSvg FilterAttributes where   defaultSvg = FilterAttributes@@ -575,7 +589,7 @@     , _filterRef        :: !(Last ElementRef)     , _preRendered      :: !(Maybe String)     }-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  makeClassy ''DrawAttributes @@ -589,7 +603,7 @@     -- correspond to the `points` attribute   , _polyLinePoints         :: ![RPoint]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)   instance WithDefaultSvg PolyLine where@@ -632,7 +646,7 @@     -- the `points` attributes.   , _polygonPoints         :: ![RPoint]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Polygon -- | Lenses for the Polygon type@@ -675,7 +689,7 @@     -- to the `x2` and `y2` attributes.   , _linePoint2         :: !Point   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Line -- | Lenses for the Line type.@@ -733,7 +747,7 @@     -- `ry` attributes.   , _rectCornerRadius    :: !(Maybe Number, Maybe Number)   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Rectangle -- | Lenses for the Rectangle type.@@ -797,7 +811,7 @@     -- `d` attributes.   , _pathDefinition     :: ![PathCommand]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Path -- | Lenses for the Path type@@ -842,7 +856,7 @@     -- | used for symbols only   , _groupAspectRatio    :: !PreserveAspectRatio   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Group -- | Lenses associated to the Group type.@@ -897,7 +911,7 @@ -- a hidden named group. newtype Symbol a =     Symbol { _groupOfSymbol :: Group a }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  instance HasGroup (Symbol a) a where   group = groupOfSymbol@@ -918,7 +932,7 @@ -- a named symbol. newtype Definitions a =     Definitions { _groupOfDefinitions :: Group a }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  instance HasGroup (Definitions a) a where   group = groupOfDefinitions@@ -941,7 +955,7 @@   , _filterSelfAttributes :: !FilterAttributes   , _filterChildren       :: ![FilterElement]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  instance WithDefaultSvg Filter where   defaultSvg = Filter@@ -961,7 +975,7 @@     -- attribute.   , _circleRadius         :: !Number   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Circle -- | Lenses for the Circle type.@@ -1015,7 +1029,7 @@     -- `ry` attribute.   , _ellipseYRadius        :: !Number   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Ellipse -- | Lenses for the ellipse type.@@ -1074,7 +1088,7 @@       -- | Stop color opacity     , _gradientOpacity :: !(Maybe Float)     }-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''GradientStop -- | Lenses for the GradientStop type.@@ -1122,7 +1136,7 @@   { -- | List of stop, from 2 to 4 in a patch     _meshGradientPatchStops :: ![GradientStop]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''MeshGradientPatch class HasMeshGradientPatch c_annx where@@ -1145,7 +1159,7 @@   { -- | List of patch in a row     _meshGradientRowPatches :: ![MeshGradientPatch]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''MeshGradientRow class HasMeshGradientRow c_antr where@@ -1180,7 +1194,7 @@     -- | List of patch rows in the the mesh.   , _meshGradientRows           :: ![MeshGradientRow]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''MeshGradient class HasMeshGradient c_anxG where@@ -1263,7 +1277,7 @@     -- | preserveAspectRatio attribute   , _imageAspectRatio     :: !PreserveAspectRatio   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Image -- | Lenses for the Image type.@@ -1343,7 +1357,7 @@     -- | Use draw attributes.   , _useDrawAttributes :: DrawAttributes   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Use -- | Lenses for the Use type.@@ -1404,7 +1418,7 @@   , _textInfoRotate :: ![Double] -- ^ `rotate` attribute.   , _textInfoLength :: !(Maybe Number) -- ^ `textLength` attribute.   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  instance Semigroup TextInfo where   (<>) (TextInfo x1 y1 dx1 dy1 r1 l1)@@ -1469,7 +1483,7 @@     = SpanText    !T.Text -- ^ Raw text     | SpanTextRef !String -- ^ Equivalent to a `<tref>`     | SpanSub     !TextSpan -- ^ Define a `<tspan>`-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Define a `<tspan>` tag. data TextSpan = TextSpan@@ -1480,7 +1494,7 @@     -- | Content of the span.   , _spanContent        :: ![TextSpanContent]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''TextSpan -- | Lenses for the TextSpan type.@@ -1519,14 +1533,14 @@ data TextPathMethod   = TextPathAlign   -- ^ Map to the `align` value.   | TextPathStretch -- ^ Map to the `stretch` value.-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Describe the content of the `spacing` text path -- attribute. data TextPathSpacing   = TextPathSpacingExact -- ^ Map to the `exact` value.   | TextPathSpacingAuto  -- ^ Map to the `auto` value.-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Describe the `<textpath>` SVG tag. data TextPath = TextPath@@ -1540,7 +1554,7 @@     -- | Correspond to the `spacing` attribute.   , _textPathSpacing     :: !TextPathSpacing   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- -- | Lenses for the TextPath type. @@ -1557,7 +1571,7 @@ data TextAdjust   = TextAdjustSpacing -- ^ Value `spacing`   | TextAdjustSpacingAndGlyphs -- ^ Value `spacingAndGlyphs`-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Define the global `<tag>` SVG tag. data Text = Text@@ -1566,7 +1580,7 @@     -- | Root of the text content.   , _textRoot   :: !TextSpan   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Text -- | Lenses for the Text type.@@ -1635,7 +1649,7 @@     | MaskTree      !Mask     | ClipPathTree  !ClipPath     | SvgTree       !Document-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  data FilterElement   = FEBlend@@ -1661,7 +1675,7 @@   | FETile   | FETurbulence Turbulence   | FENone-  deriving (Eq,Show)+  deriving (Eq,Show, Generic, Hashable)  instance WithDefaultSvg FilterElement where   defaultSvg = FENone@@ -1672,7 +1686,7 @@   | TFDiscrete   | TFLinear   | TFGamma-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  data TransferFunction = TransferFunction   { _transferFunctionDrawAttributes   :: !DrawAttributes@@ -1684,14 +1698,14 @@   , _transferFunctionAmplitude        :: Double   , _transferFunctionExponent         :: Double   , _transferFunctionOffset           :: Double-  } deriving (Eq, Show)+  } deriving (Eq, Show, Generic, Hashable)  data ChannelSelector   = ChannelR   | ChannelG   | ChannelB   | ChannelA-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  data DisplacementMap = DisplacementMap   { _displacementMapDrawAttributes   :: !DrawAttributes@@ -1701,7 +1715,7 @@   , _displacementMapScale            :: !(Last Double)   , _displacementMapXChannelSelector :: ChannelSelector   , _displacementMapYChannelSelector :: ChannelSelector-  } deriving (Eq, Show)+  } deriving (Eq, Show, Generic, Hashable)  instance WithDefaultSvg DisplacementMap where   defaultSvg = DisplacementMap@@ -1719,7 +1733,7 @@   | Saturate   | HueRotate   | LuminanceToAlpha-  deriving (Eq,Show)+  deriving (Eq,Show, Generic, Hashable)  data ColorMatrix = ColorMatrix   { _colorMatrixDrawAttributes :: !DrawAttributes@@ -1727,7 +1741,7 @@   , _colorMatrixIn             :: !(Last FilterSource)   , _colorMatrixType           :: !ColorMatrixType   , _colorMatrixValues         :: !String-  } deriving (Eq,Show)+  } deriving (Eq,Show, Generic, Hashable)  instance WithDefaultSvg ColorMatrix where   defaultSvg = ColorMatrix@@ -1745,7 +1759,7 @@   | CompositeAtop   | CompositeXor   | CompositeArithmetic-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  data Composite = Composite   { _compositeDrawAttributes :: DrawAttributes@@ -1757,7 +1771,7 @@   , _compositeK2             :: Number   , _compositeK3             :: Number   , _compositeK4             :: Number-  } deriving (Eq, Show)+  } deriving (Eq, Show, Generic, Hashable)  instance WithDefaultSvg Composite where   defaultSvg = Composite@@ -1780,17 +1794,17 @@   , _turbulenceSeed           :: Double   , _turbulenceStitchTiles    :: StitchTiles   , _turbulenceType           :: TurbulenceType-  } deriving (Eq, Show)+  } deriving (Eq, Show, Generic, Hashable)  data StitchTiles   = NoStitch   | Stitch-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  data TurbulenceType   = FractalNoiseType   | TurbulenceType-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  instance WithDefaultSvg Turbulence where   defaultSvg = Turbulence@@ -1807,7 +1821,7 @@   = EdgeDuplicate   | EdgeWrap   | EdgeNone-  deriving (Eq,Show)+  deriving (Eq,Show, Generic, Hashable)  data GaussianBlur = GaussianBlur   { _gaussianBlurDrawAttributes :: DrawAttributes@@ -1816,7 +1830,7 @@   , _gaussianBlurStdDeviationX  :: Number   , _gaussianBlurStdDeviationY  :: Last Number   , _gaussianBlurEdgeMode       :: EdgeMode-  } deriving (Eq,Show)+  } deriving (Eq,Show, Generic, Hashable)  instance WithDefaultSvg GaussianBlur where   defaultSvg = GaussianBlur@@ -1833,21 +1847,21 @@ data MarkerOrientation   = OrientationAuto        -- ^ Auto value   | OrientationAngle Coord -- ^ Specific angle.-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Define the content of the `markerUnits` attribute -- on the Marker. data MarkerUnit   = MarkerUnitStrokeWidth    -- ^ Value `strokeWidth`   | MarkerUnitUserSpaceOnUse -- ^ Value `userSpaceOnUse`-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Define the content of the `markerUnits` attribute -- on the Marker. data Overflow   = OverflowVisible    -- ^ Value `visible`   | OverflowHidden     -- ^ Value `hidden`-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- | Define the `<marker>` tag. data Marker = Marker@@ -1875,7 +1889,7 @@     -- | Elements defining the marker.   , _markerElements       :: [Tree]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Marker -- | Lenses for the Marker type.@@ -2171,7 +2185,7 @@     = SpreadRepeat  -- ^ `reapeat` value     | SpreadPad     -- ^ `pad` value     | SpreadReflect -- ^ `reflect value`-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Define a `<linearGradient>` tag. data LinearGradient = LinearGradient@@ -2197,7 +2211,7 @@       -- | List of color stops of the linear gradient.     , _linearGradientStops          :: [GradientStop]     }-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''LinearGradient -- | Lenses for the LinearGradient type.@@ -2291,7 +2305,7 @@     -- | List of color stops of the radial gradient.   , _radialGradientStops          :: [GradientStop]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''RadialGradient -- | Lenses for the RadialGradient type.@@ -2387,7 +2401,7 @@     -- | Children of the `<mask>` tag.   , _maskContent        :: [Tree]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Mask -- | Lenses for the Mask type.@@ -2462,7 +2476,7 @@     -- | Maps to the content of the tree   , _clipPathContent        :: [Tree]   }-  deriving (Eq, Show)+  deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''ClipPath -- | Lenses for the ClipPath type.@@ -2529,7 +2543,7 @@       -- | Value of "patternTransform" attribute     , _patternTransform      :: !(Maybe [Transformation])     }-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- makeClassy ''Pattern -- | Lenses for the Patter type.@@ -2628,7 +2642,7 @@     | ElementMarker Marker     | ElementMask Mask     | ElementClipPath ClipPath-    deriving (Eq, Show)+    deriving (Eq, Show, Generic, Hashable)  -- | Represent a full svg document with style, -- geometry and named elements.@@ -2641,7 +2655,7 @@     , _documentLocation :: FilePath     , _documentAspectRatio :: PreserveAspectRatio     }-    deriving (Show, Eq)+    deriving (Show, Eq, Generic, Hashable)   -- | Lenses associated to a SVG document.