packages feed

reanimate-svg 0.9.5.0 → 0.9.6.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_apJr => Lens' c_apJr [Text]
+ Graphics.SvgTree.Types: attrClass :: HasDrawAttributes c_apKr => Lens' c_apKr [Text]
- Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apJr => Lens' c_apJr (Maybe String)
+ Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe String)
- Graphics.SvgTree.Types: class HasColorMatrix c_ayUE
+ Graphics.SvgTree.Types: class HasColorMatrix c_ayVE
- Graphics.SvgTree.Types: class HasComposite c_ayLn
+ Graphics.SvgTree.Types: class HasComposite c_ayMn
- Graphics.SvgTree.Types: class HasDocument c_axXf
+ Graphics.SvgTree.Types: class HasDocument c_axYf
- Graphics.SvgTree.Types: class HasDrawAttributes c_apJr
+ Graphics.SvgTree.Types: class HasDrawAttributes c_apKr
- Graphics.SvgTree.Types: class HasGaussianBlur c_ayZR
+ Graphics.SvgTree.Types: class HasGaussianBlur c_az0R
- Graphics.SvgTree.Types: class HasTextPath c_ayzx
+ Graphics.SvgTree.Types: class HasTextPath c_ayAx
- Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apJr => Lens' c_apJr (Last ElementRef)
+ Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
- Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apJr => Lens' c_apJr (Last FillRule)
+ Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apKr => Lens' c_apKr (Last FillRule)
- Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_ayUE => Lens' c_ayUE ColorMatrix
+ Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_ayVE => Lens' c_ayVE ColorMatrix
- Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_ayUE => Lens' c_ayUE DrawAttributes
+ Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_ayVE => Lens' c_ayVE DrawAttributes
- Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_ayUE => Lens' c_ayUE FilterAttributes
+ Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_ayVE => Lens' c_ayVE FilterAttributes
- Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_ayUE => Lens' c_ayUE (Last FilterSource)
+ Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_ayVE => Lens' c_ayVE (Last FilterSource)
- Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_ayUE => Lens' c_ayUE ColorMatrixType
+ Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_ayVE => Lens' c_ayVE ColorMatrixType
- Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_ayUE => Lens' c_ayUE String
+ Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_ayVE => Lens' c_ayVE String
- Graphics.SvgTree.Types: composite :: HasComposite c_ayLn => Lens' c_ayLn Composite
+ Graphics.SvgTree.Types: composite :: HasComposite c_ayMn => Lens' c_ayMn Composite
- Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_ayLn => Lens' c_ayLn DrawAttributes
+ Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_ayMn => Lens' c_ayMn DrawAttributes
- Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_ayLn => Lens' c_ayLn FilterAttributes
+ Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_ayMn => Lens' c_ayMn FilterAttributes
- Graphics.SvgTree.Types: compositeIn :: HasComposite c_ayLn => Lens' c_ayLn (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn :: HasComposite c_ayMn => Lens' c_ayMn (Last FilterSource)
- Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_ayLn => Lens' c_ayLn (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_ayMn => Lens' c_ayMn (Last FilterSource)
- Graphics.SvgTree.Types: compositeK1 :: HasComposite c_ayLn => Lens' c_ayLn Number
+ Graphics.SvgTree.Types: compositeK1 :: HasComposite c_ayMn => Lens' c_ayMn Number
- Graphics.SvgTree.Types: compositeK2 :: HasComposite c_ayLn => Lens' c_ayLn Number
+ Graphics.SvgTree.Types: compositeK2 :: HasComposite c_ayMn => Lens' c_ayMn Number
- Graphics.SvgTree.Types: compositeK3 :: HasComposite c_ayLn => Lens' c_ayLn Number
+ Graphics.SvgTree.Types: compositeK3 :: HasComposite c_ayMn => Lens' c_ayMn Number
- Graphics.SvgTree.Types: compositeK4 :: HasComposite c_ayLn => Lens' c_ayLn Number
+ Graphics.SvgTree.Types: compositeK4 :: HasComposite c_ayMn => Lens' c_ayMn Number
- Graphics.SvgTree.Types: compositeOperator :: HasComposite c_ayLn => Lens' c_ayLn CompositeOperator
+ Graphics.SvgTree.Types: compositeOperator :: HasComposite c_ayMn => Lens' c_ayMn CompositeOperator
- Graphics.SvgTree.Types: description :: HasDocument c_axXf => Lens' c_axXf String
+ Graphics.SvgTree.Types: description :: HasDocument c_axYf => Lens' c_axYf String
- Graphics.SvgTree.Types: document :: HasDocument c_axXf => Lens' c_axXf Document
+ Graphics.SvgTree.Types: document :: HasDocument c_axYf => Lens' c_axYf Document
- Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_axXf => Lens' c_axXf PreserveAspectRatio
+ Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_axYf => Lens' c_axYf PreserveAspectRatio
- Graphics.SvgTree.Types: documentLocation :: HasDocument c_axXf => Lens' c_axXf FilePath
+ Graphics.SvgTree.Types: documentLocation :: HasDocument c_axYf => Lens' c_axYf FilePath
- Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apJr => Lens' c_apJr DrawAttributes
+ Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apKr => Lens' c_apKr DrawAttributes
- Graphics.SvgTree.Types: elements :: HasDocument c_axXf => Lens' c_axXf [Tree]
+ Graphics.SvgTree.Types: elements :: HasDocument c_axYf => Lens' c_axYf [Tree]
- Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Texture)
+ Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Texture)
- Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apJr => Lens' c_apJr (Maybe Float)
+ Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe Float)
- Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apJr => Lens' c_apJr (Last FillRule)
+ Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apKr => Lens' c_apKr (Last FillRule)
- Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apJr => Lens' c_apJr (Last ElementRef)
+ Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
- Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apJr => Lens' c_apJr (Last [String])
+ Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apKr => Lens' c_apKr (Last [String])
- Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Number)
+ Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Number)
- Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apJr => Lens' c_apJr (Last FontStyle)
+ Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apKr => Lens' c_apKr (Last FontStyle)
- Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_ayZR => Lens' c_ayZR GaussianBlur
+ Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_az0R => Lens' c_az0R GaussianBlur
- Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_ayZR => Lens' c_ayZR DrawAttributes
+ Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_az0R => Lens' c_az0R DrawAttributes
- Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_ayZR => Lens' c_ayZR EdgeMode
+ Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_az0R => Lens' c_az0R EdgeMode
- Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_ayZR => Lens' c_ayZR FilterAttributes
+ Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_az0R => Lens' c_az0R FilterAttributes
- Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_ayZR => Lens' c_ayZR (Last FilterSource)
+ Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_az0R => Lens' c_az0R (Last FilterSource)
- Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_ayZR => Lens' c_ayZR Number
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_az0R => Lens' c_az0R Number
- Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_ayZR => Lens' c_ayZR (Last Number)
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_az0R => Lens' c_az0R (Last Number)
- Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apJr => Lens' c_apJr (Maybe Float)
+ Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe Float)
- Graphics.SvgTree.Types: height :: HasDocument c_axXf => Lens' c_axXf (Maybe Number)
+ Graphics.SvgTree.Types: height :: HasDocument c_axYf => Lens' c_axYf (Maybe Number)
- Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apJr => Lens' c_apJr (Last ElementRef)
+ Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
- Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apJr => Lens' c_apJr (Last ElementRef)
+ Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
- Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apJr => Lens' c_apJr (Last ElementRef)
+ Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
- Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apJr => Lens' c_apJr (Last ElementRef)
+ Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
- Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apJr => Lens' c_apJr (Maybe String)
+ Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe String)
- Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Texture)
+ Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Texture)
- Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apJr => Lens' c_apJr (Last [Number])
+ Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apKr => Lens' c_apKr (Last [Number])
- Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Cap)
+ Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Cap)
- Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apJr => Lens' c_apJr (Last LineJoin)
+ Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apKr => Lens' c_apKr (Last LineJoin)
- Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Double)
+ Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Double)
- Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Number)
+ Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Number)
- Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apJr => Lens' c_apJr (Maybe Float)
+ Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe Float)
- Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apJr => Lens' c_apJr (Last Number)
+ Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Number)
- Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apJr => Lens' c_apJr (Last TextAnchor)
+ Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apKr => Lens' c_apKr (Last TextAnchor)
- Graphics.SvgTree.Types: textPath :: HasTextPath c_ayzx => Lens' c_ayzx TextPath
+ Graphics.SvgTree.Types: textPath :: HasTextPath c_ayAx => Lens' c_ayAx TextPath
- Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_ayzx => Lens' c_ayzx TextPathMethod
+ Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_ayAx => Lens' c_ayAx TextPathMethod
- Graphics.SvgTree.Types: textPathName :: HasTextPath c_ayzx => Lens' c_ayzx String
+ Graphics.SvgTree.Types: textPathName :: HasTextPath c_ayAx => Lens' c_ayAx String
- Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_ayzx => Lens' c_ayzx TextPathSpacing
+ Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_ayAx => Lens' c_ayAx TextPathSpacing
- Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_ayzx => Lens' c_ayzx Number
+ Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_ayAx => Lens' c_ayAx Number
- Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apJr => Lens' c_apJr (Maybe [Transformation])
+ Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe [Transformation])
- Graphics.SvgTree.Types: viewBox :: HasDocument c_axXf => Lens' c_axXf (Maybe (Double, Double, Double, Double))
+ Graphics.SvgTree.Types: viewBox :: HasDocument c_axYf => Lens' c_axYf (Maybe (Double, Double, Double, Double))
- Graphics.SvgTree.Types: width :: HasDocument c_axXf => Lens' c_axXf (Maybe Number)
+ Graphics.SvgTree.Types: width :: HasDocument c_axYf => Lens' c_axYf (Maybe Number)

Files

reanimate-svg.cabal view
@@ -1,5 +1,5 @@ name:                reanimate-svg-version:             0.9.5.0+version:             0.9.6.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 c = T.unpack $ T.take (precision+2) $ toShortest c+ppD c = T.unpack $ T.dropWhileEnd (\c -> c == '.' || c == ' ') $ toFixed precision c  ppF :: Float -> String ppF = ppD . realToFrac