Skip to content

Commit 966606f

Browse files
committed
Only export that which is meant to be exported
1 parent bddfc71 commit 966606f

File tree

1 file changed

+82
-1
lines changed

1 file changed

+82
-1
lines changed

src/Graphics/Canvas.purs

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,85 @@
1-
module Graphics.Canvas where
1+
module Graphics.Canvas
2+
( Canvas()
3+
, CanvasElement()
4+
, Context2D()
5+
, ImageData()
6+
, CanvasPixelArray()
7+
, Arc()
8+
, Composite(..)
9+
, Dimensions()
10+
, LineCap(..)
11+
, Rectangle()
12+
, ScaleTransform()
13+
, TextMetrics()
14+
, Transform()
15+
, TranslateTransform()
16+
, TextAlign(..)
17+
18+
, getCanvasElementById
19+
, getContext2D
20+
, getCanvasWidth
21+
, setCanvasWidth
22+
, getCanvasHeight
23+
, setCanvasHeight
24+
, getCanvasDimensions
25+
, setCanvasDimensions
26+
, canvasToDataURL
27+
28+
, setLineWidth
29+
, setFillStyle
30+
, setStrokeStyle
31+
, setShadowBlur
32+
, setShadowOffsetX
33+
, setShadowOffsetY
34+
, setShadowColor
35+
36+
, setLineCap
37+
, setGlobalCompositeOperation
38+
, setGlobalAlpha
39+
40+
, beginPath
41+
, stroke
42+
, fill
43+
, clip
44+
, lineTo
45+
, moveTo
46+
, closePath
47+
, strokePath
48+
, fillPath
49+
50+
, arc
51+
52+
, rect
53+
, fillRect
54+
, strokeRect
55+
, clearRect
56+
57+
, scale
58+
, rotate
59+
, translate
60+
, transform
61+
62+
, textAlign
63+
, setTextAlign
64+
, font
65+
, setFont
66+
, fillText
67+
, strokeText
68+
, measureText
69+
70+
, save
71+
, restore
72+
, withContext
73+
74+
, getImageData
75+
, getImageDataWidth
76+
, getImageDataHeight
77+
, getImageDataPixelArray
78+
, putImageData
79+
, putImageDataFull
80+
, createImageData
81+
, createImageDataCopy
82+
) where
283

384
import Data.Function
485
import Data.Maybe

0 commit comments

Comments
 (0)