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

Contents of /package.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20 - (show 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 (in-package #:cl-cairo2-asd)
2
3 (defpackage cl-cairo2
4 (:use :common-lisp :cffi :cl-colors :cl-utilities)
5 (:export
6
7 ;; cairo
8
9 destroy deg-to-rad
10
11 ;; surface
12
13 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 image-surface-get-width image-surface-get-height
17 image-surface-get-data
18 image-surface-create-from-png surface-write-to-png
19
20 ;; context
21
22 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 create-svg-context get-target
33
34 ;; path
35
36 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
40 ;; text
41
42 select-font-face set-font-size text-extents show-text
43
44 ;; transformations
45
46 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
56 ;; xlib-image-context
57
58 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