diagrams-pgf 0.1.0.3 → 0.1.0.4
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~basedep ~processdep ~timePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, process, time
API changes (from Hackage documentation)
- Graphics.Rendering.PGF: setFillColor :: (RealFloat n, Color c) => c -> Render n
+ Graphics.Rendering.PGF: setFillColor :: Color c => c -> Render n
- Graphics.Rendering.PGF: style :: Lens' (RenderState n_akl8) (Style V2 n_akl8)
+ Graphics.Rendering.PGF: style :: forall n_alPF. Lens' (RenderState n_alPF) (Style V2 n_alPF)
Files
- diagrams-pgf.cabal +4/−4
- src/Graphics/Rendering/PGF.hs +1/−1
diagrams-pgf.cabal view
@@ -1,5 +1,5 @@ name: diagrams-pgf-version: 0.1.0.3+version: 0.1.0.4 synopsis: PGF backend for diagrams drawing EDSL. license: BSD3 license-file: LICENSE@@ -32,7 +32,7 @@ Graphics.Rendering.PGF hs-source-dirs: src build-depends:- base >= 4.4 && < 4.9,+ base >= 4.4 && < 4.10, bytestring >= 0.9 && < 1.1, bytestring-builder < 1.1, containers >= 0.3 && < 0.6,@@ -44,10 +44,10 @@ hashable >= 1.1 && < 1.3, mtl >= 2.1 && < 3.0, optparse-applicative >= 0.11 && < 0.13,- process >= 1.0 && < 1.3,+ process >= 1.0 && < 1.5, split >= 0.1.2 && < 0.3, texrunner <= 0.0.2,- time >= 1.2 && < 1.6,+ time >= 1.2 && < 1.7, JuicyPixels, vector, zlib
src/Graphics/Rendering/PGF.hs view
@@ -543,7 +543,7 @@ -- | Sets the fill colour for current scope. If an alpha colour is used, the -- fill opacity is set accordingly. Must be done before filling.-setFillColor :: (RealFloat n, Color c) => c -> Render n+setFillColor :: Color c => c -> Render n setFillColor (colorToSRGBA -> (r,g,b,a)) = do defineColour "fc" r g b ln $ pgf "setfillcolor{fc}"