Fix typo
[cl-gtk2.git] / gdk / gdk.rgb.lisp
blob9d069f053108894a2d32de3a09f2e43edebcdcad
1 (in-package :gdk)
3 (defcfun (draw-rgb-image "gdk_draw_rgb_image") :void
4 (drawable (g-object drawable))
5 (gc (g-object graphics-context))
6 (x :int)
7 (y :int)
8 (width :int)
9 (height :int)
10 (dither rgb-dither)
11 (rgb-buf :pointer)
12 (rowstride :int))
14 (export 'draw-rgb-image)
16 (defcfun (draw-rgb-image-dithalign "gdk_draw_rgb_image_dithalign") :void
17 (drawable (g-object drawable))
18 (gc (g-object graphics-context))
19 (x :int)
20 (y :int)
21 (width :int)
22 (height :int)
23 (dither rgb-dither)
24 (rgb-buf :pointer)
25 (rowstride :int)
26 (x-dith :int)
27 (y-dith :int))
29 (export 'draw-rgb-image-dithalign)
31 (define-g-boxed-cstruct rgb-cmap nil
32 (colors :uint32 :count 256 :initform (make-array 256 :element-type '(unsigned-byte 32) :initial-element 0))
33 (n-colors :int :initform 0))
35 (defcfun (draw-indexed-image "gdk_draw_indexed_image") :void
36 (drawable (g-object drawable))
37 (gc (g-object graphics-context))
38 (x :int)
39 (y :int)
40 (width :int)
41 (height :int)
42 (dither rgb-dither)
43 (buf :pointer)
44 (rowstring :int)
45 (cmap (g-boxed-foreign rgb-cmap)))
47 (export 'draw-indexed-image)
49 (defcfun (draw-gray-image "gdk_draw_gray_image") :void
50 (drawable (g-object drawable))
51 (gc (g-object graphics-context))
52 (x :int)
53 (y :int)
54 (width :int)
55 (height :int)
56 (dith rgb-dither)
57 (buf :pointer)
58 (rowstride :int))
60 (export 'draw-gray-image)
62 (defcfun (draw-rgb-32-image "gdk_draw_rgb_32_image") :void
63 (drawable (g-object drawable))
64 (gc (g-object graphics-context))
65 (x :int)
66 (y :int)
67 (width :int)
68 (height :int)
69 (dither rgb-dither)
70 (buf :pointer)
71 (rowstride :int))
73 (export 'draw-rgb-32-image)
75 (defcfun (draw-rgb-32-image-dithalign "gdk_draw_rgb_32_image_dithalign") :void
76 (drawable (g-object drawable))
77 (gc (g-object graphics-context))
78 (x :int)
79 (y :int)
80 (width :int)
81 (height :int)
82 (dither rgb-dither)
83 (buf :pointer)
84 (rowstride :int)
85 (xdith :int)
86 (ydith :int))
88 (export 'draw-rgb-32-image-dithalign)
90 (defcfun (rgb-find-color "gdk_rgb_find_color") :void
91 (colormap (g-object colormap))
92 (color (g-boxed-foreign color)))
94 (export 'rgb-find-color)
96 (defcfun (rgb-set-install "gdk_rgb_set_install") :void
97 (install :boolean))
99 (export 'rgb-set-install)
101 (defcfun (rgb-set-min-colors "gdk_rgb_set_min_colors") :void
102 (min-colors :int))
104 (export 'rgb-set-min-colors)
106 (defcfun (rgb-get-visual "gdk_rgb_get_visual") (g-object visual))
108 (export 'rgb-get-visual)
110 (defcfun (rgb-get-colormap "gdk_rgb_get_colormap") (g-object colormap))
112 (export 'rgb-get-colormap)
114 (defcfun (rgb-ditherable "gdk_rgb_ditherable") :boolean)
116 (export 'rgb-ditherable)
118 (defcfun (rgb-colormap-ditherable "gdk_rgb_colormap_ditherable") :boolean
119 (colormap (g-object colormap)))
121 (export 'rgb-colormap-ditherable)
123 (defcfun (rgb-set-verbose "gdk_rgb_set_verbose") :void
124 (verbose :boolean))
126 (export 'rgb-set-verbose)