4
>The GdkPixbuf Structure</TITLE
7
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10
TITLE="The gdk-pixbuf Library"
11
HREF="index.html"><LINK
19
TITLE="Reference Counting and Memory Mangement"
20
HREF="gdk-pixbuf-refcounting.html"></HEAD
60
><<< Previous Page</B
109
HREF="gdk-pixbuf-refcounting.html"
114
>Next Page >>></B
123
NAME="GDK-PIXBUF-GDK-PIXBUF">The GdkPixbuf Structure</H1
131
>The GdkPixbuf Structure -- Information that describes an image.</DIV
133
CLASS="REFSYNOPSISDIV"
146
> #include <gdk-pixbuf/gdk-pixbuf.h>
150
HREF="gdk-pixbuf-gdk-pixbuf.html#GDKCOLORSPACE"
154
HREF="gdk-pixbuf-gdk-pixbuf.html#GDKCOLORSPACE"
157
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-COLORSPACE"
158
>gdk_pixbuf_get_colorspace</A
159
> (const GdkPixbuf *pixbuf);
161
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-N-CHANNELS"
162
>gdk_pixbuf_get_n_channels</A
163
> (const GdkPixbuf *pixbuf);
165
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-HAS-ALPHA"
166
>gdk_pixbuf_get_has_alpha</A
167
> (const GdkPixbuf *pixbuf);
169
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-BITS-PER-SAMPLE"
170
>gdk_pixbuf_get_bits_per_sample</A
171
> (const GdkPixbuf *pixbuf);
173
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-PIXELS"
174
>gdk_pixbuf_get_pixels</A
175
> (const GdkPixbuf *pixbuf);
177
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-WIDTH"
178
>gdk_pixbuf_get_width</A
179
> (const GdkPixbuf *pixbuf);
181
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-HEIGHT"
182
>gdk_pixbuf_get_height</A
183
> (const GdkPixbuf *pixbuf);
185
HREF="gdk-pixbuf-gdk-pixbuf.html#GDK-PIXBUF-GET-ROWSTRIDE"
186
>gdk_pixbuf_get_rowstride</A
187
> (const GdkPixbuf *pixbuf); </PRE
204
information that describes an image in memory.
223
>enum GdkColorspace</H3
232
CLASS="PROGRAMLISTING"
235
} GdkColorspace;</PRE
240
> This enumeration defines the color spaces that are supported by
244
> library. Currently only RGB is supported.
247
CLASS="INFORMALTABLE"
266
>GDK_COLORSPACE_RGB</TT
272
>Indicates a red/green/blue additive color space. </TD
287
NAME="GDK-PIXBUF-GET-COLORSPACE"
289
>gdk_pixbuf_get_colorspace ()</H3
298
CLASS="PROGRAMLISTING"
300
HREF="gdk-pixbuf-gdk-pixbuf.html#GDKCOLORSPACE"
302
> gdk_pixbuf_get_colorspace (const GdkPixbuf *pixbuf);</PRE
307
>Queries the color space of a pixbuf.</P
311
CLASS="INFORMALTABLE"
371
NAME="GDK-PIXBUF-GET-N-CHANNELS"
373
>gdk_pixbuf_get_n_channels ()</H3
382
CLASS="PROGRAMLISTING"
383
>int gdk_pixbuf_get_n_channels (const GdkPixbuf *pixbuf);</PRE
388
>Queries the number of channels of a pixbuf.</P
392
CLASS="INFORMALTABLE"
437
> Number of channels.</TD
452
NAME="GDK-PIXBUF-GET-HAS-ALPHA"
454
>gdk_pixbuf_get_has_alpha ()</H3
463
CLASS="PROGRAMLISTING"
464
>gboolean gdk_pixbuf_get_has_alpha (const GdkPixbuf *pixbuf);</PRE
469
>Queries whether a pixbuf has an alpha channel (opacity information).</P
473
CLASS="INFORMALTABLE"
518
> TRUE if it has an alpha channel, FALSE otherwise.</TD
533
NAME="GDK-PIXBUF-GET-BITS-PER-SAMPLE"
535
>gdk_pixbuf_get_bits_per_sample ()</H3
544
CLASS="PROGRAMLISTING"
545
>int gdk_pixbuf_get_bits_per_sample (const GdkPixbuf *pixbuf);</PRE
550
>Queries the number of bits per color sample in a pixbuf.</P
554
CLASS="INFORMALTABLE"
599
> Number of bits per color sample.</TD
614
NAME="GDK-PIXBUF-GET-PIXELS"
616
>gdk_pixbuf_get_pixels ()</H3
625
CLASS="PROGRAMLISTING"
626
>guchar* gdk_pixbuf_get_pixels (const GdkPixbuf *pixbuf);</PRE
631
>Queries a pointer to the pixel data of a pixbuf.</P
635
CLASS="INFORMALTABLE"
680
> A pointer to the pixbuf's pixel data.</TD
695
NAME="GDK-PIXBUF-GET-WIDTH"
697
>gdk_pixbuf_get_width ()</H3
706
CLASS="PROGRAMLISTING"
707
>int gdk_pixbuf_get_width (const GdkPixbuf *pixbuf);</PRE
712
>Queries the width of a pixbuf.</P
716
CLASS="INFORMALTABLE"
761
> Width in pixels.</TD
776
NAME="GDK-PIXBUF-GET-HEIGHT"
778
>gdk_pixbuf_get_height ()</H3
787
CLASS="PROGRAMLISTING"
788
>int gdk_pixbuf_get_height (const GdkPixbuf *pixbuf);</PRE
793
>Queries the height of a pixbuf.</P
797
CLASS="INFORMALTABLE"
842
> Height in pixels.</TD
857
NAME="GDK-PIXBUF-GET-ROWSTRIDE"
859
>gdk_pixbuf_get_rowstride ()</H3
868
CLASS="PROGRAMLISTING"
869
>int gdk_pixbuf_get_rowstride (const GdkPixbuf *pixbuf);</PRE
874
>Queries the rowstride of a pixbuf, which is the number of bytes between rows.</P
878
CLASS="INFORMALTABLE"
923
> Number of bytes between rows.</TD
935
CLEAR="all"><BR><TABLE
952
><<< Previous Page</B
1001
HREF="gdk-pixbuf-refcounting.html"
1006
>Next Page >>></B
1029
>Reference Counting and Memory Mangement</B
b'\\ No newline at end of file'