- Provide reference for 3x3 matrix invert
[vecto.git] / package.lisp
blob64c3484214d915ad7180345fdeca089a8a744e87
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 ;; Clipping
51 #:end-path-no-op
52 #:clip-path
53 #:even-odd-clip-path
54 ;; path construction one-offs
55 #:rectangle
56 #:rounded-rectangle
57 #:centered-ellipse-path
58 #:centered-circle-path
59 #:+kappa+
60 ;; painting
61 #:fill-path
62 #:even-odd-fill
63 #:stroke
64 #:fill-and-stroke
65 #:even-odd-fill-and-stroke
66 ;; graphics state
67 #:with-graphics-state
68 #:set-line-cap
69 #:set-line-join
70 #:set-line-width
71 #:set-dash-pattern
72 #:set-rgba-stroke
73 #:set-rgb-stroke
74 #:set-rgba-fill
75 #:set-rgb-fill
76 ;; graphics state coordinate transforms
77 #:translate
78 #:rotate
79 #:rotate-degrees
80 #:skew
81 #:scale
82 ;; text
83 #:get-font
84 #:set-font
85 #:draw-string
86 #:string-bounding-box
87 #:draw-centered-string))