-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.lisp
77 lines (77 loc) · 1.22 KB
/
package.lisp
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
(defpackage #:org.shirakumo.raster
(:use #:cl)
;; buffer.lisp
(:export
#:buffer
#:color
#:channel
#:index
#:coordinate
#:image
#:image-buffer
#:image-width
#:image-height
#:make-image
#:make-buffer
#:clear
#:encode-color
#:decode-color
#:color-ref
#:color-ref*
#:lerp-color
#:convert-to-buffer
#:convert-from-buffer)
;; composite.lisp
(:export
#:alpha-blend
#:blit-buffer
#:composite-buffer
#:composite-mask
#:composite-sdf)
;; raster.lisp
(:export
#:clip
#:with-clip
#:with-rect-clip
#:with-no-clipping
#:draw-line
#:draw-curve
#:draw-lines
#:draw-curves
#:draw-rectangle
#:draw-ellipse
#:draw-polygon
#:draw-image
#:with-drawing)
;; sampler.lisp
(:export
#:sampler
#:transform
#:make-transform
#:sample-color
#:sampler
#:solid-color
#:evaluate-gradient
#:radial-gradient
#:linear-gradient
#:bilinear-gradient
#:diamond-gradient
#:conical-gradient
#:ensure-sampler)
;; sdf.lisp
(:export
#:sdf
#:rectangle
#:ellipse
#:line
#:curve
#:polygon
#:subtract
#:combine
#:intersect
#:outline
#:translate
#:scale
#:rotate
#:skew
#:transform))