homepage: https://github.com/rcook/juicy-draw#readme
changelog-type: ''
hash: 307aa9355b9885a49ecb0045e3784ef9e04c57b8da8bc815871d28550730c34d
test-bench-deps: {}
maintainer: rcook@rcook.org
synopsis: Functions for drawing and filling lines, rectangles and polygons directly
  onto a mutable image
changelog: ''
basic-deps:
  JuicyPixels: -any
  base: ! '>=4.7 && <5'
  primitive: -any
  juicy-draw: -any
all-versions:
- '0.1.0.0'
author: Richard Cook
latest: '0.1.0.0'
description-type: markdown
description: ! '# `juicy-draw`


  [![Travis branch](https://img.shields.io/travis/rcook/juicy-draw/master.svg)](https://travis-ci.org/rcook/juicy-draw)

  [![Hackage](https://img.shields.io/hackage/v/juicy-draw.svg)](http://hackage.haskell.org/package/juicy-draw)

  [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/rcook/juicy-draw/master/LICENSE)


  Functions for drawing and filling lines, rectangles and polygons directly onto a
  [JuicyPixels][juicypixels] mutable image; inspired by [JuicyPixels-canvas][juicypixels-canvas]
  but without the `Canvas` part


  ## Example


  ![Example](example.png)


  See [code][example-code].


  ## Set up dev tools


  This project can be built using the [Stack][stack] build tool.


  ```bash

  stack build intero

  stack build --copy-compiler-tool ghcid

  ```


  ## ghcid


  ```bash

  stack exec ghcid -- -T'':main''

  ```


  ## Build


  ```bash

  stack build

  ```


  ## Test


  ```bash

  stack test

  ```


  ## Run demo


  ```bash

  stack exec juicy-draw-demo

  ```


  ## Upload package


  ```

  stack upload .

  ```


  ## Upload documentation


  I use my [`upload-haddocks`][upload-haddocks] tool which requires a functioning
  installation of Python and pip:


  ```

  pip install --user upload-haddocks

  upload-haddocks

  ```


  ## Releases


  [View change log for more information][change-log]


  ## Licence


  [MIT License][licence]


  Copyright &copy; 2017, Richard Cook.


  [change-log]: CHANGELOG.md

  [example-code]: app/Main.hs

  [juicypixels]: https://hackage.haskell.org/package/JuicyPixels

  [juicypixels-canvas]: https://hackage.haskell.org/package/JuicyPixels-canvas

  [licence]: LICENSE

  [stack]: http://haskellstack.org/

  [upload-haddocks]: https://github.com/rcook/upload-haddocks

'
license-name: MIT

Update from Hackage at 2018-12-19T17:28:19Z
Update from Hackage at 2018-12-19T17:28:19Z
