reanimate-svg 0.9.6.0 → 0.9.7.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_apKr => Lens' c_apKr [Text]
+ Graphics.SvgTree.Types: attrClass :: HasDrawAttributes c_apKH => Lens' c_apKH [Text]
- Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe String)
+ Graphics.SvgTree.Types: attrId :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe String)
- Graphics.SvgTree.Types: class HasColorMatrix c_ayVE
+ Graphics.SvgTree.Types: class HasColorMatrix c_ayVU
- Graphics.SvgTree.Types: class HasComposite c_ayMn
+ Graphics.SvgTree.Types: class HasComposite c_ayMD
- Graphics.SvgTree.Types: class HasDocument c_axYf
+ Graphics.SvgTree.Types: class HasDocument c_axYv
- Graphics.SvgTree.Types: class HasDrawAttributes c_apKr
+ Graphics.SvgTree.Types: class HasDrawAttributes c_apKH
- Graphics.SvgTree.Types: class HasGaussianBlur c_az0R
+ Graphics.SvgTree.Types: class HasGaussianBlur c_az17
- Graphics.SvgTree.Types: class HasTextPath c_ayAx
+ Graphics.SvgTree.Types: class HasTextPath c_ayAN
- Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
+ Graphics.SvgTree.Types: clipPathRef :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
- Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apKr => Lens' c_apKr (Last FillRule)
+ Graphics.SvgTree.Types: clipRule :: HasDrawAttributes c_apKH => Lens' c_apKH (Last FillRule)
- Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_ayVE => Lens' c_ayVE ColorMatrix
+ Graphics.SvgTree.Types: colorMatrix :: HasColorMatrix c_ayVU => Lens' c_ayVU ColorMatrix
- Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_ayVE => Lens' c_ayVE DrawAttributes
+ Graphics.SvgTree.Types: colorMatrixDrawAttributes :: HasColorMatrix c_ayVU => Lens' c_ayVU DrawAttributes
- Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_ayVE => Lens' c_ayVE FilterAttributes
+ Graphics.SvgTree.Types: colorMatrixFilterAttr :: HasColorMatrix c_ayVU => Lens' c_ayVU FilterAttributes
- Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_ayVE => Lens' c_ayVE (Last FilterSource)
+ Graphics.SvgTree.Types: colorMatrixIn :: HasColorMatrix c_ayVU => Lens' c_ayVU (Last FilterSource)
- Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_ayVE => Lens' c_ayVE ColorMatrixType
+ Graphics.SvgTree.Types: colorMatrixType :: HasColorMatrix c_ayVU => Lens' c_ayVU ColorMatrixType
- Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_ayVE => Lens' c_ayVE String
+ Graphics.SvgTree.Types: colorMatrixValues :: HasColorMatrix c_ayVU => Lens' c_ayVU String
- Graphics.SvgTree.Types: composite :: HasComposite c_ayMn => Lens' c_ayMn Composite
+ Graphics.SvgTree.Types: composite :: HasComposite c_ayMD => Lens' c_ayMD Composite
- Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_ayMn => Lens' c_ayMn DrawAttributes
+ Graphics.SvgTree.Types: compositeDrawAttributes :: HasComposite c_ayMD => Lens' c_ayMD DrawAttributes
- Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_ayMn => Lens' c_ayMn FilterAttributes
+ Graphics.SvgTree.Types: compositeFilterAttr :: HasComposite c_ayMD => Lens' c_ayMD FilterAttributes
- Graphics.SvgTree.Types: compositeIn :: HasComposite c_ayMn => Lens' c_ayMn (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn :: HasComposite c_ayMD => Lens' c_ayMD (Last FilterSource)
- Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_ayMn => Lens' c_ayMn (Last FilterSource)
+ Graphics.SvgTree.Types: compositeIn2 :: HasComposite c_ayMD => Lens' c_ayMD (Last FilterSource)
- Graphics.SvgTree.Types: compositeK1 :: HasComposite c_ayMn => Lens' c_ayMn Number
+ Graphics.SvgTree.Types: compositeK1 :: HasComposite c_ayMD => Lens' c_ayMD Number
- Graphics.SvgTree.Types: compositeK2 :: HasComposite c_ayMn => Lens' c_ayMn Number
+ Graphics.SvgTree.Types: compositeK2 :: HasComposite c_ayMD => Lens' c_ayMD Number
- Graphics.SvgTree.Types: compositeK3 :: HasComposite c_ayMn => Lens' c_ayMn Number
+ Graphics.SvgTree.Types: compositeK3 :: HasComposite c_ayMD => Lens' c_ayMD Number
- Graphics.SvgTree.Types: compositeK4 :: HasComposite c_ayMn => Lens' c_ayMn Number
+ Graphics.SvgTree.Types: compositeK4 :: HasComposite c_ayMD => Lens' c_ayMD Number
- Graphics.SvgTree.Types: compositeOperator :: HasComposite c_ayMn => Lens' c_ayMn CompositeOperator
+ Graphics.SvgTree.Types: compositeOperator :: HasComposite c_ayMD => Lens' c_ayMD CompositeOperator
- Graphics.SvgTree.Types: description :: HasDocument c_axYf => Lens' c_axYf String
+ Graphics.SvgTree.Types: description :: HasDocument c_axYv => Lens' c_axYv String
- Graphics.SvgTree.Types: document :: HasDocument c_axYf => Lens' c_axYf Document
+ Graphics.SvgTree.Types: document :: HasDocument c_axYv => Lens' c_axYv Document
- Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_axYf => Lens' c_axYf PreserveAspectRatio
+ Graphics.SvgTree.Types: documentAspectRatio :: HasDocument c_axYv => Lens' c_axYv PreserveAspectRatio
- Graphics.SvgTree.Types: documentLocation :: HasDocument c_axYf => Lens' c_axYf FilePath
+ Graphics.SvgTree.Types: documentLocation :: HasDocument c_axYv => Lens' c_axYv FilePath
- Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apKr => Lens' c_apKr DrawAttributes
+ Graphics.SvgTree.Types: drawAttributes :: HasDrawAttributes c_apKH => Lens' c_apKH DrawAttributes
- Graphics.SvgTree.Types: elements :: HasDocument c_axYf => Lens' c_axYf [Tree]
+ Graphics.SvgTree.Types: elements :: HasDocument c_axYv => Lens' c_axYv [Tree]
- Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Texture)
+ Graphics.SvgTree.Types: fillColor :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Texture)
- Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe Float)
+ Graphics.SvgTree.Types: fillOpacity :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe Float)
- Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apKr => Lens' c_apKr (Last FillRule)
+ Graphics.SvgTree.Types: fillRule :: HasDrawAttributes c_apKH => Lens' c_apKH (Last FillRule)
- Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
+ Graphics.SvgTree.Types: filterRef :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
- Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apKr => Lens' c_apKr (Last [String])
+ Graphics.SvgTree.Types: fontFamily :: HasDrawAttributes c_apKH => Lens' c_apKH (Last [String])
- Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Number)
+ Graphics.SvgTree.Types: fontSize :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Number)
- Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apKr => Lens' c_apKr (Last FontStyle)
+ Graphics.SvgTree.Types: fontStyle :: HasDrawAttributes c_apKH => Lens' c_apKH (Last FontStyle)
- Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_az0R => Lens' c_az0R GaussianBlur
+ Graphics.SvgTree.Types: gaussianBlur :: HasGaussianBlur c_az17 => Lens' c_az17 GaussianBlur
- Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_az0R => Lens' c_az0R DrawAttributes
+ Graphics.SvgTree.Types: gaussianBlurDrawAttributes :: HasGaussianBlur c_az17 => Lens' c_az17 DrawAttributes
- Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_az0R => Lens' c_az0R EdgeMode
+ Graphics.SvgTree.Types: gaussianBlurEdgeMode :: HasGaussianBlur c_az17 => Lens' c_az17 EdgeMode
- Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_az0R => Lens' c_az0R FilterAttributes
+ Graphics.SvgTree.Types: gaussianBlurFilterAttr :: HasGaussianBlur c_az17 => Lens' c_az17 FilterAttributes
- Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_az0R => Lens' c_az0R (Last FilterSource)
+ Graphics.SvgTree.Types: gaussianBlurIn :: HasGaussianBlur c_az17 => Lens' c_az17 (Last FilterSource)
- Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_az0R => Lens' c_az0R Number
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationX :: HasGaussianBlur c_az17 => Lens' c_az17 Number
- Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_az0R => Lens' c_az0R (Last Number)
+ Graphics.SvgTree.Types: gaussianBlurStdDeviationY :: HasGaussianBlur c_az17 => Lens' c_az17 (Last Number)
- Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe Float)
+ Graphics.SvgTree.Types: groupOpacity :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe Float)
- Graphics.SvgTree.Types: height :: HasDocument c_axYf => Lens' c_axYf (Maybe Number)
+ Graphics.SvgTree.Types: height :: HasDocument c_axYv => Lens' c_axYv (Maybe Number)
- Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
+ Graphics.SvgTree.Types: markerEnd :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
- Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
+ Graphics.SvgTree.Types: markerMid :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
- Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
+ Graphics.SvgTree.Types: markerStart :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
- Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apKr => Lens' c_apKr (Last ElementRef)
+ Graphics.SvgTree.Types: maskRef :: HasDrawAttributes c_apKH => Lens' c_apKH (Last ElementRef)
- Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe String)
+ Graphics.SvgTree.Types: preRendered :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe String)
- Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Texture)
+ Graphics.SvgTree.Types: strokeColor :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Texture)
- Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apKr => Lens' c_apKr (Last [Number])
+ Graphics.SvgTree.Types: strokeDashArray :: HasDrawAttributes c_apKH => Lens' c_apKH (Last [Number])
- Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Cap)
+ Graphics.SvgTree.Types: strokeLineCap :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Cap)
- Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apKr => Lens' c_apKr (Last LineJoin)
+ Graphics.SvgTree.Types: strokeLineJoin :: HasDrawAttributes c_apKH => Lens' c_apKH (Last LineJoin)
- Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Double)
+ Graphics.SvgTree.Types: strokeMiterLimit :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Double)
- Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Number)
+ Graphics.SvgTree.Types: strokeOffset :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Number)
- Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe Float)
+ Graphics.SvgTree.Types: strokeOpacity :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe Float)
- Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apKr => Lens' c_apKr (Last Number)
+ Graphics.SvgTree.Types: strokeWidth :: HasDrawAttributes c_apKH => Lens' c_apKH (Last Number)
- Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apKr => Lens' c_apKr (Last TextAnchor)
+ Graphics.SvgTree.Types: textAnchor :: HasDrawAttributes c_apKH => Lens' c_apKH (Last TextAnchor)
- Graphics.SvgTree.Types: textPath :: HasTextPath c_ayAx => Lens' c_ayAx TextPath
+ Graphics.SvgTree.Types: textPath :: HasTextPath c_ayAN => Lens' c_ayAN TextPath
- Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_ayAx => Lens' c_ayAx TextPathMethod
+ Graphics.SvgTree.Types: textPathMethod :: HasTextPath c_ayAN => Lens' c_ayAN TextPathMethod
- Graphics.SvgTree.Types: textPathName :: HasTextPath c_ayAx => Lens' c_ayAx String
+ Graphics.SvgTree.Types: textPathName :: HasTextPath c_ayAN => Lens' c_ayAN String
- Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_ayAx => Lens' c_ayAx TextPathSpacing
+ Graphics.SvgTree.Types: textPathSpacing :: HasTextPath c_ayAN => Lens' c_ayAN TextPathSpacing
- Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_ayAx => Lens' c_ayAx Number
+ Graphics.SvgTree.Types: textPathStartOffset :: HasTextPath c_ayAN => Lens' c_ayAN Number
- Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apKr => Lens' c_apKr (Maybe [Transformation])
+ Graphics.SvgTree.Types: transform :: HasDrawAttributes c_apKH => Lens' c_apKH (Maybe [Transformation])
- Graphics.SvgTree.Types: viewBox :: HasDocument c_axYf => Lens' c_axYf (Maybe (Double, Double, Double, Double))
+ Graphics.SvgTree.Types: viewBox :: HasDocument c_axYv => Lens' c_axYv (Maybe (Double, Double, Double, Double))
- Graphics.SvgTree.Types: width :: HasDocument c_axYf => Lens' c_axYf (Maybe Number)
+ Graphics.SvgTree.Types: width :: HasDocument c_axYv => Lens' c_axYv (Maybe Number)
Files
- reanimate-svg.cabal +1/−1
- src/Graphics/SvgTree/Misc.hs +1/−1
reanimate-svg.cabal view
@@ -1,5 +1,5 @@ name: reanimate-svg-version: 0.9.6.0+version: 0.9.7.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.dropWhileEnd (\c -> c == '.' || c == ' ') $ toFixed precision c+ppD = T.unpack . T.dropWhileEnd (\c -> c == '.' || c == '0') . toFixed precision ppF :: Float -> String ppF = ppD . realToFrac