packages feed

reanimate-svg 0.9.7.0 → 0.9.8.0

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Graphics.SvgTree.Types: attrClass :: HasDrawAttributes c_apKH => Lens' c_apKH [Text]
+ Graphics.SvgTree.Types: attrClass :: HasDrawAttributes c_apLg => Lens' c_apLg [Text]
- Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe String)
+ Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apLg => Lens' c_apLg (Maybe String)
- Graphics.SvgTree.Types: class HasColorMatrix c_ayVU
+ Graphics.SvgTree.Types: class HasColorMatrix c_ayWt
- Graphics.SvgTree.Types: class HasComposite c_ayMD
+ Graphics.SvgTree.Types: class HasComposite c_ayNc
- Graphics.SvgTree.Types: class HasDocument c_axYv
+ Graphics.SvgTree.Types: class HasDocument c_axZ4
- Graphics.SvgTree.Types: class HasDrawAttributes c_apKH
+ Graphics.SvgTree.Types: class HasDrawAttributes c_apLg
- Graphics.SvgTree.Types: class HasGaussianBlur c_az17
+ Graphics.SvgTree.Types: class HasGaussianBlur c_az1G
- Graphics.SvgTree.Types: class HasTextPath c_ayAN
+ Graphics.SvgTree.Types: class HasTextPath c_ayBm
- Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
+ Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apLg => Lens' c_apLg (Last ElementRef)
- Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apKH => Lens' c_apKH (Last FillRule)
+ Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apLg => Lens' c_apLg (Last FillRule)
- Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_ayVU => Lens' c_ayVU ColorMatrix
+ Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_ayWt => Lens' c_ayWt ColorMatrix
- Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_ayVU => Lens' c_ayVU DrawAttributes
+ Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_ayWt => Lens' c_ayWt DrawAttributes
- Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_ayVU => Lens' c_ayVU FilterAttributes
+ Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_ayWt => Lens' c_ayWt FilterAttributes
- Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_ayVU => Lens' c_ayVU (Last FilterSource)
+ Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_ayWt => Lens' c_ayWt (Last FilterSource)
- Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_ayVU => Lens' c_ayVU ColorMatrixType
+ Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_ayWt => Lens' c_ayWt ColorMatrixType
- Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_ayVU => Lens' c_ayVU String
+ Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_ayWt => Lens' c_ayWt String
- Graphics.SvgTree.Types: composite :: HasComposite c_ayMD => Lens' c_ayMD Composite
+ Graphics.SvgTree.Types: composite :: HasComposite c_ayNc => Lens' c_ayNc Composite
- Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_ayMD => Lens' c_ayMD DrawAttributes
+ Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_ayNc => Lens' c_ayNc DrawAttributes
- Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_ayMD => Lens' c_ayMD FilterAttributes
+ Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_ayNc => Lens' c_ayNc FilterAttributes
- Graphics.SvgTree.Types: compositeIn :: HasComposite c_ayMD => Lens' c_ayMD (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn :: HasComposite c_ayNc => Lens' c_ayNc (Last FilterSource)
- Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_ayMD => Lens' c_ayMD (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_ayNc => Lens' c_ayNc (Last FilterSource)
- Graphics.SvgTree.Types: compositeK1 :: HasComposite c_ayMD => Lens' c_ayMD Number
+ Graphics.SvgTree.Types: compositeK1 :: HasComposite c_ayNc => Lens' c_ayNc Number
- Graphics.SvgTree.Types: compositeK2 :: HasComposite c_ayMD => Lens' c_ayMD Number
+ Graphics.SvgTree.Types: compositeK2 :: HasComposite c_ayNc => Lens' c_ayNc Number
- Graphics.SvgTree.Types: compositeK3 :: HasComposite c_ayMD => Lens' c_ayMD Number
+ Graphics.SvgTree.Types: compositeK3 :: HasComposite c_ayNc => Lens' c_ayNc Number
- Graphics.SvgTree.Types: compositeK4 :: HasComposite c_ayMD => Lens' c_ayMD Number
+ Graphics.SvgTree.Types: compositeK4 :: HasComposite c_ayNc => Lens' c_ayNc Number
- Graphics.SvgTree.Types: compositeOperator :: HasComposite c_ayMD => Lens' c_ayMD CompositeOperator
+ Graphics.SvgTree.Types: compositeOperator :: HasComposite c_ayNc => Lens' c_ayNc CompositeOperator
- Graphics.SvgTree.Types: description :: HasDocument c_axYv => Lens' c_axYv String
+ Graphics.SvgTree.Types: description :: HasDocument c_axZ4 => Lens' c_axZ4 String
- Graphics.SvgTree.Types: document :: HasDocument c_axYv => Lens' c_axYv Document
+ Graphics.SvgTree.Types: document :: HasDocument c_axZ4 => Lens' c_axZ4 Document
- Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_axYv => Lens' c_axYv PreserveAspectRatio
+ Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_axZ4 => Lens' c_axZ4 PreserveAspectRatio
- Graphics.SvgTree.Types: documentLocation :: HasDocument c_axYv => Lens' c_axYv FilePath
+ Graphics.SvgTree.Types: documentLocation :: HasDocument c_axZ4 => Lens' c_axZ4 FilePath
- Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apKH => Lens' c_apKH DrawAttributes
+ Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apLg => Lens' c_apLg DrawAttributes
- Graphics.SvgTree.Types: elements :: HasDocument c_axYv => Lens' c_axYv [Tree]
+ Graphics.SvgTree.Types: elements :: HasDocument c_axZ4 => Lens' c_axZ4 [Tree]
- Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Texture)
+ Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Texture)
- Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe Float)
+ Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apLg => Lens' c_apLg (Maybe Float)
- Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apKH => Lens' c_apKH (Last FillRule)
+ Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apLg => Lens' c_apLg (Last FillRule)
- Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
+ Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apLg => Lens' c_apLg (Last ElementRef)
- Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apKH => Lens' c_apKH (Last [String])
+ Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apLg => Lens' c_apLg (Last [String])
- Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Number)
+ Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Number)
- Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apKH => Lens' c_apKH (Last FontStyle)
+ Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apLg => Lens' c_apLg (Last FontStyle)
- Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_az17 => Lens' c_az17 GaussianBlur
+ Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_az1G => Lens' c_az1G GaussianBlur
- Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_az17 => Lens' c_az17 DrawAttributes
+ Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_az1G => Lens' c_az1G DrawAttributes
- Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_az17 => Lens' c_az17 EdgeMode
+ Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_az1G => Lens' c_az1G EdgeMode
- Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_az17 => Lens' c_az17 FilterAttributes
+ Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_az1G => Lens' c_az1G FilterAttributes
- Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_az17 => Lens' c_az17 (Last FilterSource)
+ Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_az1G => Lens' c_az1G (Last FilterSource)
- Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_az17 => Lens' c_az17 Number
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_az1G => Lens' c_az1G Number
- Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_az17 => Lens' c_az17 (Last Number)
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_az1G => Lens' c_az1G (Last Number)
- Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe Float)
+ Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apLg => Lens' c_apLg (Maybe Float)
- Graphics.SvgTree.Types: height :: HasDocument c_axYv => Lens' c_axYv (Maybe Number)
+ Graphics.SvgTree.Types: height :: HasDocument c_axZ4 => Lens' c_axZ4 (Maybe Number)
- Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
+ Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apLg => Lens' c_apLg (Last ElementRef)
- Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
+ Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apLg => Lens' c_apLg (Last ElementRef)
- Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
+ Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apLg => Lens' c_apLg (Last ElementRef)
- Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
+ Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apLg => Lens' c_apLg (Last ElementRef)
- Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe String)
+ Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apLg => Lens' c_apLg (Maybe String)
- Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Texture)
+ Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Texture)
- Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apKH => Lens' c_apKH (Last [Number])
+ Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apLg => Lens' c_apLg (Last [Number])
- Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Cap)
+ Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Cap)
- Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apKH => Lens' c_apKH (Last LineJoin)
+ Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apLg => Lens' c_apLg (Last LineJoin)
- Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Double)
+ Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Double)
- Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Number)
+ Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Number)
- Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe Float)
+ Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apLg => Lens' c_apLg (Maybe Float)
- Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Number)
+ Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apLg => Lens' c_apLg (Last Number)
- Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apKH => Lens' c_apKH (Last TextAnchor)
+ Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apLg => Lens' c_apLg (Last TextAnchor)
- Graphics.SvgTree.Types: textPath :: HasTextPath c_ayAN => Lens' c_ayAN TextPath
+ Graphics.SvgTree.Types: textPath :: HasTextPath c_ayBm => Lens' c_ayBm TextPath
- Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_ayAN => Lens' c_ayAN TextPathMethod
+ Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_ayBm => Lens' c_ayBm TextPathMethod
- Graphics.SvgTree.Types: textPathName :: HasTextPath c_ayAN => Lens' c_ayAN String
+ Graphics.SvgTree.Types: textPathName :: HasTextPath c_ayBm => Lens' c_ayBm String
- Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_ayAN => Lens' c_ayAN TextPathSpacing
+ Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_ayBm => Lens' c_ayBm TextPathSpacing
- Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_ayAN => Lens' c_ayAN Number
+ Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_ayBm => Lens' c_ayBm Number
- Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe [Transformation])
+ Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apLg => Lens' c_apLg (Maybe [Transformation])
- Graphics.SvgTree.Types: viewBox :: HasDocument c_axYv => Lens' c_axYv (Maybe (Double, Double, Double, Double))
+ Graphics.SvgTree.Types: viewBox :: HasDocument c_axZ4 => Lens' c_axZ4 (Maybe (Double, Double, Double, Double))
- Graphics.SvgTree.Types: width :: HasDocument c_axYv => Lens' c_axYv (Maybe Number)
+ Graphics.SvgTree.Types: width :: HasDocument c_axZ4 => Lens' c_axZ4 (Maybe Number)

Files

reanimate-svg.cabal view
@@ -1,5 +1,5 @@ name:                reanimate-svg-version:             0.9.7.0+version:             0.9.8.0 synopsis:            SVG file loader and serializer description:   reanimate-svg provides types representing a SVG document,
src/Graphics/SvgTree/Misc.hs view
@@ -10,7 +10,7 @@ precision = 6  ppD :: Double -> String-ppD = T.unpack . T.dropWhileEnd (\c -> c == '.' || c == '0') . toFixed precision+ppD = T.unpack . T.dropWhileEnd (== '.') . T.dropWhileEnd (== '0') . toFixed precision  ppF :: Float -> String ppF = ppD . realToFrac