Bump versions for release
[vecto.git] / package.lisp
blobe2c34d5f48965dbc240eacd30188c276dad41054
1 ;;; Copyright (c) 2007 Zachary Beane, All Rights Reserved
2 ;;;
3 ;;; Redistribution and use in source and binary forms, with or without
4 ;;; modification, are permitted provided that the following conditions
5 ;;; are met:
6 ;;;
7 ;;; * Redistributions of source code must retain the above copyright
8 ;;; notice, this list of conditions and the following disclaimer.
9 ;;;
10 ;;; * Redistributions in binary form must reproduce the above
11 ;;; copyright notice, this list of conditions and the following
12 ;;; disclaimer in the documentation and/or other materials
13 ;;; provided with the distribution.
14 ;;;
15 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
16 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
21 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ;;;
27 ;;; $Id: package.lisp,v 1.17 2007/10/01 14:13:11 xach Exp $
29 (cl:defpackage #:vecto
30 (:use #:cl)
31 (:import-from #:zpb-ttf
32 #:open-font-loader
33 #:xmin
34 #:xmax
35 #:ymin
36 #:ymax
37 #:bounding-box)
38 (:export
39 ;; canvas operations
40 #:with-canvas
41 #:clear-canvas
42 #:save-png
43 #:save-png-stream
44 ;; path construction
45 #:move-to
46 #:line-to
47 #:curve-to
48 #:quadratic-to
49 #:close-subpath
50 #:stroke-to-paths
51 #:arc
52 #:arcn
53 ;; Clipping
54 #:end-path-no-op
55 #:clip-path
56 #:even-odd-clip-path
57 ;; path construction one-offs
58 #:rectangle
59 #:rounded-rectangle
60 #:centered-ellipse-path
61 #:centered-circle-path
62 #:+kappa+
63 ;; painting
64 #:fill-path
65 #:even-odd-fill
66 #:stroke
67 #:fill-and-stroke
68 #:even-odd-fill-and-stroke
69 ;; graphics state
70 #:with-graphics-state
71 #:set-line-cap
72 #:set-line-join
73 #:set-line-width
74 #:set-dash-pattern
75 #:set-rgba-stroke
76 #:set-rgb-stroke
77 #:set-rgba-fill
78 #:set-rgb-fill
79 #:set-gradient-fill
80 #:linear-domain
81 #:bilinear-domain
82 ;; graphics state coordinate transforms
83 #:translate
84 #:rotate
85 #:rotate-degrees
86 #:skew
87 #:scale
88 ;; text
89 #:*default-character-spacing*
90 #:get-font
91 #:set-font
92 #:set-character-spacing
93 #:draw-string
94 #:string-paths
95 #:draw-centered-string
96 #:centered-string-paths
97 #:string-bounding-box))