-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathblank-canvas.cabal
116 lines (110 loc) · 5.37 KB
/
blank-canvas.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Name: blank-canvas
Version: 0.8
Synopsis: HTML5 Canvas Graphics Library
Description: @blank-canvas@ is a Haskell binding to the complete
<https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API HTML5 Canvas API>.
@blank-canvas@ allows Haskell users to write, in Haskell,
interactive images onto their web browsers. @blank-canvas@
gives the user a single full-window canvas, and provides
many well-documented functions for rendering
images.
.
@
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Graphics.Blank -- import the blank canvas
.
main = blankCanvas 3000 $ \\ context -> do -- start blank canvas on port 3000
  send context $ do -- send commands to this specific context
    moveTo(50,50)
    lineTo(200,100)
    lineWidth 10
    strokeStyle \"red\"
    stroke() -- this draws the ink into the canvas
@
.
<<https://github.com/ku-fpg/blank-canvas/wiki/images/Red_Line.png>>
.
For more details, read the <https://github.com/ku-fpg/blank-canvas/wiki blank-canvas wiki>.
.
License: BSD3
License-file: LICENSE
Author: Andy Gill and Ryan Scott
Maintainer: [email protected]
Copyright: Copyright (c) 2014 The University of Kansas
Homepage: https://github.com/ku-fpg/blank-canvas/wiki
Bug-reports: https://github.com/ku-fpg/blank-canvas/issues
Category: Graphics
Build-type: Simple
Stability: Beta
Extra-source-files: README.md
Changelog.md
Cabal-version: >= 1.10
tested-with: GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.6
, GHC == 9.8.4
, GHC == 9.10.1
, GHC == 9.12.1
data-files:
static/index.html
static/jquery.js
static/jquery-json.js
Library
Exposed-modules: Graphics.Blank
Graphics.Blank.Cursor
Graphics.Blank.Font
Graphics.Blank.GHCi
Graphics.Blank.Style
other-modules: Graphics.Blank.Canvas
Graphics.Blank.DeviceContext
Graphics.Blank.Events
Graphics.Blank.Generated
Graphics.Blank.JavaScript
Graphics.Blank.Parser
Graphics.Blank.Types
Graphics.Blank.Types.CSS
Graphics.Blank.Types.Cursor
Graphics.Blank.Types.Font
Graphics.Blank.Utils
Graphics.Blank.Instr
Paths_blank_canvas
default-language: Haskell2010
build-depends: aeson >= 1.4.4 && < 2.3,
base64-bytestring >= 1.0 && < 1.3,
base >= 4.11 && < 4.22,
base-compat >= 0.11 && < 0.15,
bytestring >= 0.10 && < 0.13,
colour >= 2.2 && < 2.4,
containers >= 0.5 && < 0.8,
data-default-class >= 0.0.1 && < 0.3,
fail == 4.9.*,
free,
http-types >= 0.8 && < 0.13,
javascript-bridge == 0.2.0,
mime-types >= 0.1.0.3 && < 0.2,
mtl >= 2 && < 2.4,
natural-transformation >= 0.4 && < 0.5,
-- TODO: Eventually, we should bump the lower version
-- bounds to >=0.20 so that we can remove some CPP in
-- Graphics.Blank.
scotty >= 0.10 && < 0.23,
semigroups >= 0.18 && < 1,
stm >= 2.2 && < 2.6,
text >= 1.1 && < 2.2,
text-show >= 2 && < 4,
transformers >= 0.3 && < 0.7,
wai == 3.*,
wai-extra >= 3.0.1 && < 3.2,
warp == 3.*,
vector >= 0.10 && < 0.14
GHC-options: -Wall
GHC-prof-options: -Wall -fsimpl-tick-factor=50000
source-repository head
type: git
location: https://github.com/ku-fpg/blank-canvas.git