7
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10
TITLE="The gdk-pixbuf Library"
11
HREF="index.html"><LINK
16
TITLE="Drawables to Pixbufs"
17
HREF="gdk-pixbuf-from-drawables.html"><LINK
20
HREF="gdk-pixbuf-animation.html"></HEAD
55
HREF="gdk-pixbuf-from-drawables.html"
60
><<< Previous Page</B
109
HREF="gdk-pixbuf-animation.html"
114
>Next Page >>></B
123
NAME="GDK-PIXBUF-UTIL">Utilities</H1
131
>Utilities -- Utility and miscellaneous convenience functions.</DIV
133
CLASS="REFSYNOPSISDIV"
146
> #include <gdk-pixbuf/gdk-pixbuf.h>
150
HREF="gdk-pixbuf-util.html#GDK-PIXBUF-ADD-ALPHA"
151
>gdk_pixbuf_add_alpha</A
152
> (const GdkPixbuf *pixbuf,
153
gboolean substitute_color,
158
HREF="gdk-pixbuf-util.html#GDK-PIXBUF-COPY-AREA"
159
>gdk_pixbuf_copy_area</A
160
> (const GdkPixbuf *src_pixbuf,
165
GdkPixbuf *dest_pixbuf,
180
> These functions provide miscellaneous utilities for manipulating
181
pixbufs. The pixel data in pixbufs may of course be manipulated
182
directly by applications, but several common operations can be
183
performed by these functions instead.
200
NAME="GDK-PIXBUF-ADD-ALPHA"
202
>gdk_pixbuf_add_alpha ()</H3
211
CLASS="PROGRAMLISTING"
212
>GdkPixbuf* gdk_pixbuf_add_alpha (const GdkPixbuf *pixbuf,
213
gboolean substitute_color,
221
>Takes an existing pixbuf and adds an alpha channel to it. If the original
222
pixbuf already had alpha information, then the contents of the new pixbuf are
223
exactly the same as the original's. Otherwise, the new pixbuf will have all
224
pixels with full opacity if <TT
235
> is TRUE, then the color specified by (<TT
251
substituted for zero opacity.</P
255
CLASS="INFORMALTABLE"
299
> Whether to substitute a color for zero opacity. If this
300
is FALSE, then the (<TT
315
>) arguments will be ignored.</TD
332
> Red value to substitute.</TD
349
> Green value to substitute.</TD
366
> Blue value to substitute.</TD
384
> A newly-created pixbuf with a reference count of 1.</TD
399
NAME="GDK-PIXBUF-COPY-AREA"
401
>gdk_pixbuf_copy_area ()</H3
410
CLASS="PROGRAMLISTING"
411
>void gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
416
GdkPixbuf *dest_pixbuf,
423
>Copies a rectangular area from <TT
434
pixbuf formats is done automatically.</P
438
CLASS="INFORMALTABLE"
482
> Source X coordinate within <TT
504
> Source Y coordinate within <TT
526
> Width of the area to copy.</TD
543
> Height of the area to copy.</TD
560
> Destination pixbuf.</TD
577
> X coordinate within <TT
599
> Y coordinate within <TT
627
CLEAR="all"><BR><TABLE
639
HREF="gdk-pixbuf-from-drawables.html"
644
><<< Previous Page</B
693
HREF="gdk-pixbuf-animation.html"
698
>Next Page >>></B
711
>Drawables to Pixbufs</B
b'\\ No newline at end of file'