hcg-minus-cairo 0.14 → 0.15
raw patch · 3 files changed
+20/−8 lines, 3 filesdep ~hcg-minusPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hcg-minus
API changes (from Hackage documentation)
+ Render.CG.Minus: rect_fill :: Ca -> Pt R -> (R, R) -> Render ()
Files
- README +2/−2
- Render/CG/Minus.hs +8/−1
- hcg-minus-cairo.cabal +10/−5
README view
@@ -4,9 +4,9 @@ [cairo][cairo] rendering for [hcg-minus][hcg-minus] [cairo]: http://cairographics.org/-[hcg-minus]: http://rd.slavepianos.org/?t=hcg-minus+[hcg-minus]: http://rd.slavepianos.org/t/hcg-minus -© [rd][rd], 2009-2013, [gpl][gpl]+© [rd][rd], 2009-2014, [gpl][gpl] [rd]: http://rd.slavepianos.org/ [gpl]: http://gnu.org/copyleft/
Render/CG/Minus.hs view
@@ -78,13 +78,20 @@ outline :: R -> Ca -> Ls R -> C.Render () outline lw c l = polygon l >> pen lw c >> C.stroke --- | Render rectangle given colour 'Ca', upper-left 'Pt' and+-- | Outline rectangle given colour 'Ca', upper-left 'Pt' and -- /(width,height)/. rect :: Ca -> Pt R -> (R,R) -> C.Render () rect c (Pt x y) (w,h) = do C.rectangle x y w h pen 0.05 c C.stroke++-- | Solid variant of 'rect'.+rect_fill :: Ca -> Pt R -> (R,R) -> C.Render ()+rect_fill c (Pt x y) (w,h) = do+ C.rectangle x y w h+ colour c+ C.fill -- * Text
hcg-minus-cairo.cabal view
@@ -1,27 +1,32 @@ name: hcg-minus-cairo-version: 0.14+version: 0.15 synopsis: haskell cg (minus) (cairo rendering) description: cg (minus) library (cairo rendering) license: BSD3 category: Math author: Rohan Drape maintainer: rd@slavepianos.org-homepage: http://slavepianos.org/rd/?t=hcg-minus-cairo-tested-with: GHC==7.2.2+homepage: http://rd.slavepianos.org/t/hcg-minus-cairo+tested-with: GHC == 7.8.2 build-type: Simple cabal-version: >= 1.8 data-files: README library- build-depends: base==4.*,cairo,colour,hcg-minus==0.14.*,filepath,utf8-string+ build-depends: base == 4.*,+ cairo,+ colour,+ hcg-minus == 0.15.*,+ filepath,+ utf8-string ghc-options: -Wall -fwarn-tabs exposed-modules: Render.CG.Minus Render.CG.Minus.Arrow Source-Repository head Type: darcs- Location: http://slavepianos.org/rd/sw/hcg-minus-cairo+ Location: http://rd.slavepianos.org/sw/hcg-minus-cairo -- Local Variables: -- truncate-lines:t