/[cl-cairo2]/package.lisp
ViewVC logotype

Contents of /package.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20 - (hide annotations)
Wed May 28 01:34:00 2008 UTC (5 years, 10 months ago) by tpapp
File size: 2160 byte(s)
added image-surface-get-data and minor fixes by Johann Korndoerfer
1 tpapp 17 (in-package #:cl-cairo2-asd)
2    
3     (defpackage cl-cairo2
4 tpapp 16 (:use :common-lisp :cffi :cl-colors :cl-utilities)
5     (:export
6 tpapp 13
7 tpapp 16 ;; cairo
8 tpapp 13
9 tpapp 16 destroy deg-to-rad
10 tpapp 13
11 tpapp 16 ;; surface
12 tpapp 13
13 tpapp 17 surface pointer width height get-width get-height pixel-based-p
14     destroy create-ps-surface create-pdf-surface create-svg-surface
15     create-image-surface image-surface-get-format
16 tpapp 16 image-surface-get-width image-surface-get-height
17 tpapp 20 image-surface-get-data
18 tpapp 17 image-surface-create-from-png surface-write-to-png
19 tpapp 13
20 tpapp 16 ;; context
21    
22 tpapp 17 context with-png-file create-context sync sync-lock sync
23     sync-unlock sync-reset with-sync-lock *context* save restore
24     push-group pop-group pop-group-to-source set-source-rgb
25     set-source-rgba clip clip-preserve reset-clip copy-page show-page
26     fill-preserve paint paint-with-alpha stroke stroke-preserve
27     set-source-color get-line-width set-line-width get-miter-limit
28     set-miter-limit get-antialias set-antialias get-fill-rule
29     set-fill-rule get-line-cap set-line-cap get-line-join set-line-join
30     get-operator set-operator fill-path set-dash get-dash clip-extents
31     fill-extents in-fill in-stoke create-ps-context create-pdf-context
32 tpapp 16 create-svg-context get-target
33 tpapp 13
34 tpapp 16 ;; path
35 tpapp 13
36 tpapp 16 new-path new-sub-path close-path arc arc-negative curve-to line-to
37     move-to rectangle rel-move-to rel-curve-to rel-line-to text-path
38     get-current-point
39 tpapp 13
40 tpapp 16 ;; text
41 tpapp 13
42 tpapp 16 select-font-face set-font-size text-extents show-text
43 tpapp 13
44 tpapp 16 ;; transformations
45 tpapp 13
46 tpapp 16 translate scale rotate reset-trans-matrix make-trans-matrix
47     trans-matrix-xx trans-matrix-yx trans-matrix-xy trans-matrix-yy
48     trans-matrix-x0 trans-matrix-y0 trans-matrix-p transform
49     set-trans-matrix get-trans-matrix user-to-device
50     user-to-device-distance device-to-user device-to-user-distance
51     trans-matrix-init-translate trans-matrix-init-scale
52     trans-matrix-init-rotate trans-matrix-rotate trans-matrix-scale
53     trans-matrix-rotate trans-matrix-invert trans-matrix-multiply
54     trans-matrix-distance transform-point
55 tpapp 13
56 tpapp 16 ;; xlib-image-context
57 tpapp 13
58 tpapp 16 xlib-image-context create-xlib-image-context
59    
60     ;; gtk-context
61    
62     gtk-context create-gtk-context with-gtk-context))

  ViewVC Help
Powered by ViewVC 1.1.5