gdk_pixbuf2 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +29 -0
- data/Rakefile +34 -0
- data/ext/gdk_pixbuf2/depend +11 -0
- data/ext/gdk_pixbuf2/extconf.rb +66 -0
- data/ext/gdk_pixbuf2/gdk_pixbuf2.def +2 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-format.c +179 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf-loader.c +164 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.c +737 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf.h +41 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2conversions.h +42 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbuf2private.h +35 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimation.c +93 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufanimationiter.c +71 -0
- data/ext/gdk_pixbuf2/rbgdk-pixbufsimpleanim.c +53 -0
- data/ext/gdk_pixbuf2/rbgdk-pixdata.c +213 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gdk_pixbuf2.so +0 -0
- data/lib/2.1/gdk_pixbuf2.so +0 -0
- data/lib/2.2/gdk_pixbuf2.so +0 -0
- data/lib/gdk_pixbuf2.rb +57 -0
- data/sample/anim.rb +38 -0
- data/sample/composite.rb +45 -0
- data/sample/flip.rb +47 -0
- data/sample/floppybuddy.gif +0 -0
- data/sample/format.rb +39 -0
- data/sample/gnome-foot.png +0 -0
- data/sample/inline.rb +37 -0
- data/sample/loader.rb +20 -0
- data/sample/pixdata.rb +39 -0
- data/sample/rotate.rb +45 -0
- data/sample/save.rb +25 -0
- data/sample/scale.rb +45 -0
- data/sample/simpleanim.rb +34 -0
- data/sample/utils.rb +44 -0
- data/sample/xpm.rb +40 -0
- data/vendor/local/bin/gdk-pixbuf-csource.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-pixdata.exe +0 -0
- data/vendor/local/bin/gdk-pixbuf-query-loaders.exe +0 -0
- data/vendor/local/bin/libgdk_pixbuf-2.0-0.dll +0 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +204 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +464 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +33 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +120 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +343 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +108 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +36 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +64 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +158 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +43 -0
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +168 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +139 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.dll.a +0 -0
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la +41 -0
- data/vendor/local/lib/gdk_pixbuf-2.0.def +128 -0
- data/vendor/local/lib/girepository-1.0/GdkPixbuf-2.0.typelib +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +41 -0
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +19 -0
- data/vendor/local/share/gir-1.0/GdkPixbuf-2.0.gir +3443 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +827 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-12.html +35 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-14.html +46 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-2.html +108 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-26.html +50 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-30.html +35 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-4.html +72 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-6.html +65 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-2-8.html +39 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-deprecated.html +53 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/api-index-full.html +787 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/composite.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +1068 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +794 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +864 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +491 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +639 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +1298 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +208 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +914 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +898 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +381 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Versioning.html +184 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +197 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Xlib-Rendering.html +438 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +1115 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-csource.html +167 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-Xlib-initialization.html +159 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-from-drawables.html +45 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf-rendering.html +44 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-query-loaders.html +85 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf.devhelp2 +226 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.html +150 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/index.sgml +322 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/license.html +59 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn01.html +101 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/rn02.html +50 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/up.png +0 -0
- data/vendor/local/share/license/gdk-pixbuf/AUTHORS +65 -0
- data/vendor/local/share/license/gdk-pixbuf/COPYING +482 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/csb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo +0 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-csource.1 +135 -0
- data/vendor/local/share/man/man1/gdk-pixbuf-query-loaders.1 +73 -0
- metadata +273 -0
@@ -0,0 +1,639 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GDK-PixBuf Reference Manual: Inline data</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
|
8
|
+
<link rel="up" href="rn01.html" title="API Reference">
|
9
|
+
<link rel="prev" href="gdk-pixbuf-Image-Data-in-Memory.html" title="Image Data in Memory">
|
10
|
+
<link rel="next" href="gdk-pixbuf-Scaling.html" title="Scaling">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#gdk-pixbuf-Inline-data.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="gdk-pixbuf-Image-Data-in-Memory.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="gdk-pixbuf-Scaling.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="gdk-pixbuf-Inline-data"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="gdk-pixbuf-Inline-data.top_of_page"></a>Inline data</span></h2>
|
30
|
+
<p>Inline data — Functions for inlined pixbuf handling.</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="gdk-pixbuf-Inline-data.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="define_keyword">#define</td>
|
44
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXBUF-MAGIC-NUMBER:CAPS" title="GDK_PIXBUF_MAGIC_NUMBER">GDK_PIXBUF_MAGIC_NUMBER</a></td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td class="function_type">
|
48
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-from-pixbuf" title="gdk_pixdata_from_pixbuf ()">gdk_pixdata_from_pixbuf</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
56
|
+
<a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixbuf-from-pixdata" title="gdk_pixbuf_from_pixdata ()">gdk_pixbuf_from_pixdata</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td class="function_type">
|
64
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-serialize" title="gdk_pixdata_serialize ()">gdk_pixdata_serialize</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td class="function_type">
|
72
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-deserialize" title="gdk_pixdata_deserialize ()">gdk_pixdata_deserialize</a> <span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td class="function_type">
|
80
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-to-csource" title="gdk_pixdata_to_csource ()">gdk_pixdata_to_csource</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
</tbody>
|
87
|
+
</table></div>
|
88
|
+
</div>
|
89
|
+
<div class="refsect1">
|
90
|
+
<a name="gdk-pixbuf-Inline-data.other"></a><h2>Types and Values</h2>
|
91
|
+
<div class="informaltable"><table width="100%" border="0">
|
92
|
+
<colgroup>
|
93
|
+
<col width="150px" class="name">
|
94
|
+
<col class="description">
|
95
|
+
</colgroup>
|
96
|
+
<tbody>
|
97
|
+
<tr>
|
98
|
+
<td class="datatype_keyword">struct</td>
|
99
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata">GdkPixdata</a></td>
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
<td class="datatype_keyword">enum</td>
|
103
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataType" title="enum GdkPixdataType">GdkPixdataType</a></td>
|
104
|
+
</tr>
|
105
|
+
<tr>
|
106
|
+
<td class="datatype_keyword">enum</td>
|
107
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataDumpType" title="enum GdkPixdataDumpType">GdkPixdataDumpType</a></td>
|
108
|
+
</tr>
|
109
|
+
<tr>
|
110
|
+
<td class="define_keyword">#define</td>
|
111
|
+
<td class="function_name"><a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXDATA-HEADER-LENGTH:CAPS" title="GDK_PIXDATA_HEADER_LENGTH">GDK_PIXDATA_HEADER_LENGTH</a></td>
|
112
|
+
</tr>
|
113
|
+
</tbody>
|
114
|
+
</table></div>
|
115
|
+
</div>
|
116
|
+
<div class="refsect1">
|
117
|
+
<a name="gdk-pixbuf-Inline-data.includes"></a><h2>Includes</h2>
|
118
|
+
<pre class="synopsis">#include <gdk-pixbuf/gdk-pixdata.h>
|
119
|
+
</pre>
|
120
|
+
</div>
|
121
|
+
<div class="refsect1">
|
122
|
+
<a name="gdk-pixbuf-Inline-data.description"></a><h2>Description</h2>
|
123
|
+
<p>Using <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>, images can be compiled into an application,
|
124
|
+
making it unnecessary to refer to external image files at runtime.
|
125
|
+
GdkPixBuf includes a utility named gdk-pixbuf-csource, which
|
126
|
+
can be used to convert image files into <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures suitable
|
127
|
+
for inclusion in C sources. To convert the <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures back
|
128
|
+
into <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a><!-- -->s, use gdk_pixbuf_from_pixdata.</p>
|
129
|
+
</div>
|
130
|
+
<div class="refsect1">
|
131
|
+
<a name="gdk-pixbuf-Inline-data.functions_details"></a><h2>Functions</h2>
|
132
|
+
<div class="refsect2">
|
133
|
+
<a name="GDK-PIXBUF-MAGIC-NUMBER:CAPS"></a><h3>GDK_PIXBUF_MAGIC_NUMBER</h3>
|
134
|
+
<pre class="programlisting">#define GDK_PIXBUF_MAGIC_NUMBER (0x47646b50) /* 'GdkP' */
|
135
|
+
</pre>
|
136
|
+
<p>Magic number for <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structures.</p>
|
137
|
+
</div>
|
138
|
+
<hr>
|
139
|
+
<div class="refsect2">
|
140
|
+
<a name="gdk-pixdata-from-pixbuf"></a><h3>gdk_pixdata_from_pixbuf ()</h3>
|
141
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
142
|
+
gdk_pixdata_from_pixbuf (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
143
|
+
<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
144
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_rle</code></em>);</pre>
|
145
|
+
<p>Converts a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>. If <em class="parameter"><code>use_rle</code></em>
|
146
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the
|
147
|
+
pixel data is run-length encoded into newly-allocated memory and a
|
148
|
+
pointer to that memory is returned.</p>
|
149
|
+
<div class="refsect3">
|
150
|
+
<a name="id-1.2.9.7.3.5"></a><h4>Parameters</h4>
|
151
|
+
<div class="informaltable"><table width="100%" border="0">
|
152
|
+
<colgroup>
|
153
|
+
<col width="150px" class="parameters_name">
|
154
|
+
<col class="parameters_description">
|
155
|
+
<col width="200px" class="parameters_annotations">
|
156
|
+
</colgroup>
|
157
|
+
<tbody>
|
158
|
+
<tr>
|
159
|
+
<td class="parameter_name"><p>pixdata</p></td>
|
160
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> to fill.</p></td>
|
161
|
+
<td class="parameter_annotations"> </td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="parameter_name"><p>pixbuf</p></td>
|
165
|
+
<td class="parameter_description"><p>the data to fill <em class="parameter"><code>pixdata</code></em>
|
166
|
+
with.</p></td>
|
167
|
+
<td class="parameter_annotations"> </td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td class="parameter_name"><p>use_rle</p></td>
|
171
|
+
<td class="parameter_description"><p>whether to use run-length encoding for the pixel data.</p></td>
|
172
|
+
<td class="parameter_annotations"> </td>
|
173
|
+
</tr>
|
174
|
+
</tbody>
|
175
|
+
</table></div>
|
176
|
+
</div>
|
177
|
+
<div class="refsect3">
|
178
|
+
<a name="id-1.2.9.7.3.6"></a><h4>Returns</h4>
|
179
|
+
<p> If <em class="parameter"><code>use_rle</code></em>
|
180
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a pointer to the
|
181
|
+
newly-allocated memory for the run-length encoded pixel data,
|
182
|
+
otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
183
|
+
<p><span class="annotation">[nullable]</span></p>
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
<hr>
|
187
|
+
<div class="refsect2">
|
188
|
+
<a name="gdk-pixbuf-from-pixdata"></a><h3>gdk_pixbuf_from_pixdata ()</h3>
|
189
|
+
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
190
|
+
gdk_pixbuf_from_pixdata (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
191
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy_pixels</code></em>,
|
192
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
193
|
+
<p>Converts a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> to a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. If <em class="parameter"><code>copy_pixels</code></em>
|
194
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> or
|
195
|
+
if the pixel data is run-length-encoded, the pixel data is copied into
|
196
|
+
newly-allocated memory; otherwise it is reused.</p>
|
197
|
+
<div class="refsect3">
|
198
|
+
<a name="id-1.2.9.7.4.5"></a><h4>Parameters</h4>
|
199
|
+
<div class="informaltable"><table width="100%" border="0">
|
200
|
+
<colgroup>
|
201
|
+
<col width="150px" class="parameters_name">
|
202
|
+
<col class="parameters_description">
|
203
|
+
<col width="200px" class="parameters_annotations">
|
204
|
+
</colgroup>
|
205
|
+
<tbody>
|
206
|
+
<tr>
|
207
|
+
<td class="parameter_name"><p>pixdata</p></td>
|
208
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> to convert into a <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>.</p></td>
|
209
|
+
<td class="parameter_annotations"> </td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td class="parameter_name"><p>copy_pixels</p></td>
|
213
|
+
<td class="parameter_description"><p>whether to copy raw pixel data; run-length encoded
|
214
|
+
pixel data is always copied.</p></td>
|
215
|
+
<td class="parameter_annotations"> </td>
|
216
|
+
</tr>
|
217
|
+
<tr>
|
218
|
+
<td class="parameter_name"><p>error</p></td>
|
219
|
+
<td class="parameter_description"><p>location to store possible errors.</p></td>
|
220
|
+
<td class="parameter_annotations"> </td>
|
221
|
+
</tr>
|
222
|
+
</tbody>
|
223
|
+
</table></div>
|
224
|
+
</div>
|
225
|
+
<div class="refsect3">
|
226
|
+
<a name="id-1.2.9.7.4.6"></a><h4>Returns</h4>
|
227
|
+
<p> a new <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>. </p>
|
228
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
<hr>
|
232
|
+
<div class="refsect2">
|
233
|
+
<a name="gdk-pixdata-serialize"></a><h3>gdk_pixdata_serialize ()</h3>
|
234
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
|
235
|
+
gdk_pixdata_serialize (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
236
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *stream_length_p</code></em>);</pre>
|
237
|
+
<p>Serializes a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure into a byte stream.
|
238
|
+
The byte stream consists of a straightforward writeout of the
|
239
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> fields in network byte order, plus the <em class="parameter"><code>pixel_data</code></em>
|
240
|
+
|
241
|
+
bytes the structure points to.</p>
|
242
|
+
<div class="refsect3">
|
243
|
+
<a name="id-1.2.9.7.5.5"></a><h4>Parameters</h4>
|
244
|
+
<div class="informaltable"><table width="100%" border="0">
|
245
|
+
<colgroup>
|
246
|
+
<col width="150px" class="parameters_name">
|
247
|
+
<col class="parameters_description">
|
248
|
+
<col width="200px" class="parameters_annotations">
|
249
|
+
</colgroup>
|
250
|
+
<tbody>
|
251
|
+
<tr>
|
252
|
+
<td class="parameter_name"><p>pixdata</p></td>
|
253
|
+
<td class="parameter_description"><p>a valid <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure to serialize.</p></td>
|
254
|
+
<td class="parameter_annotations"> </td>
|
255
|
+
</tr>
|
256
|
+
<tr>
|
257
|
+
<td class="parameter_name"><p>stream_length_p</p></td>
|
258
|
+
<td class="parameter_description"><p>location to store the resulting stream length in.</p></td>
|
259
|
+
<td class="parameter_annotations"> </td>
|
260
|
+
</tr>
|
261
|
+
</tbody>
|
262
|
+
</table></div>
|
263
|
+
</div>
|
264
|
+
<div class="refsect3">
|
265
|
+
<a name="id-1.2.9.7.5.6"></a><h4>Returns</h4>
|
266
|
+
<p> A
|
267
|
+
newly-allocated string containing the serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a>
|
268
|
+
structure. </p>
|
269
|
+
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=stream_length_p][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
270
|
+
</div>
|
271
|
+
</div>
|
272
|
+
<hr>
|
273
|
+
<div class="refsect2">
|
274
|
+
<a name="gdk-pixdata-deserialize"></a><h3>gdk_pixdata_deserialize ()</h3>
|
275
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
276
|
+
gdk_pixdata_deserialize (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
277
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> stream_length</code></em>,
|
278
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *stream</code></em>,
|
279
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
280
|
+
<p>Deserializes (reconstruct) a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure from a byte stream.
|
281
|
+
The byte stream consists of a straightforward writeout of the
|
282
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> fields in network byte order, plus the <em class="parameter"><code>pixel_data</code></em>
|
283
|
+
|
284
|
+
bytes the structure points to.
|
285
|
+
The <em class="parameter"><code>pixdata</code></em>
|
286
|
+
contents are reconstructed byte by byte and are checked
|
287
|
+
for validity. This function may fail with <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR-CORRUPT-IMAGE:CAPS"><code class="literal">GDK_PIXBUF_ERROR_CORRUPT_IMAGE</code></a>
|
288
|
+
or <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GDK-PIXBUF-ERROR-UNKNOWN-TYPE:CAPS"><code class="literal">GDK_PIXBUF_ERROR_UNKNOWN_TYPE</code></a>.</p>
|
289
|
+
<div class="refsect3">
|
290
|
+
<a name="id-1.2.9.7.6.5"></a><h4>Parameters</h4>
|
291
|
+
<div class="informaltable"><table width="100%" border="0">
|
292
|
+
<colgroup>
|
293
|
+
<col width="150px" class="parameters_name">
|
294
|
+
<col class="parameters_description">
|
295
|
+
<col width="200px" class="parameters_annotations">
|
296
|
+
</colgroup>
|
297
|
+
<tbody>
|
298
|
+
<tr>
|
299
|
+
<td class="parameter_name"><p>pixdata</p></td>
|
300
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure to be filled in.</p></td>
|
301
|
+
<td class="parameter_annotations"> </td>
|
302
|
+
</tr>
|
303
|
+
<tr>
|
304
|
+
<td class="parameter_name"><p>stream_length</p></td>
|
305
|
+
<td class="parameter_description"><p>length of the stream used for deserialization.</p></td>
|
306
|
+
<td class="parameter_annotations"> </td>
|
307
|
+
</tr>
|
308
|
+
<tr>
|
309
|
+
<td class="parameter_name"><p>stream</p></td>
|
310
|
+
<td class="parameter_description"><p> stream of bytes containing a
|
311
|
+
serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure. </p></td>
|
312
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=stream_length]</span></td>
|
313
|
+
</tr>
|
314
|
+
<tr>
|
315
|
+
<td class="parameter_name"><p>error</p></td>
|
316
|
+
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> location to indicate failures (maybe <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors).</p></td>
|
317
|
+
<td class="parameter_annotations"> </td>
|
318
|
+
</tr>
|
319
|
+
</tbody>
|
320
|
+
</table></div>
|
321
|
+
</div>
|
322
|
+
<div class="refsect3">
|
323
|
+
<a name="id-1.2.9.7.6.6"></a><h4>Returns</h4>
|
324
|
+
<p> Upon successful deserialization <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned,
|
325
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
326
|
+
<p></p>
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
<hr>
|
330
|
+
<div class="refsect2">
|
331
|
+
<a name="gdk-pixdata-to-csource"></a><h3>gdk_pixdata_to_csource ()</h3>
|
332
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> *
|
333
|
+
gdk_pixdata_to_csource (<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> *pixdata</code></em>,
|
334
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
335
|
+
<em class="parameter"><code><a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataDumpType" title="enum GdkPixdataDumpType"><span class="type">GdkPixdataDumpType</span></a> dump_type</code></em>);</pre>
|
336
|
+
<p>Generates C source code suitable for compiling images directly
|
337
|
+
into programs. </p>
|
338
|
+
<p>gdk-pixbuf ships with a program called
|
339
|
+
<a class="link" href="gdk-pixbuf-csource.html" title="gdk-pixbuf-csource">gdk-pixbuf-csource</a>, which offers a command
|
340
|
+
line interface to this function.</p>
|
341
|
+
<div class="refsect3">
|
342
|
+
<a name="id-1.2.9.7.7.6"></a><h4>Parameters</h4>
|
343
|
+
<div class="informaltable"><table width="100%" border="0">
|
344
|
+
<colgroup>
|
345
|
+
<col width="150px" class="parameters_name">
|
346
|
+
<col class="parameters_description">
|
347
|
+
<col width="200px" class="parameters_annotations">
|
348
|
+
</colgroup>
|
349
|
+
<tbody>
|
350
|
+
<tr>
|
351
|
+
<td class="parameter_name"><p>pixdata</p></td>
|
352
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> to convert to C source.</p></td>
|
353
|
+
<td class="parameter_annotations"> </td>
|
354
|
+
</tr>
|
355
|
+
<tr>
|
356
|
+
<td class="parameter_name"><p>name</p></td>
|
357
|
+
<td class="parameter_description"><p>used for naming generated data structures or macros.</p></td>
|
358
|
+
<td class="parameter_annotations"> </td>
|
359
|
+
</tr>
|
360
|
+
<tr>
|
361
|
+
<td class="parameter_name"><p>dump_type</p></td>
|
362
|
+
<td class="parameter_description"><p>a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataDumpType" title="enum GdkPixdataDumpType"><span class="type">GdkPixdataDumpType</span></a> determining the kind of C
|
363
|
+
source to be generated.</p></td>
|
364
|
+
<td class="parameter_annotations"> </td>
|
365
|
+
</tr>
|
366
|
+
</tbody>
|
367
|
+
</table></div>
|
368
|
+
</div>
|
369
|
+
<div class="refsect3">
|
370
|
+
<a name="id-1.2.9.7.7.7"></a><h4>Returns</h4>
|
371
|
+
<p> a newly-allocated string containing the C source form
|
372
|
+
of <em class="parameter"><code>pixdata</code></em>
|
373
|
+
.</p>
|
374
|
+
<p></p>
|
375
|
+
</div>
|
376
|
+
</div>
|
377
|
+
</div>
|
378
|
+
<div class="refsect1">
|
379
|
+
<a name="gdk-pixbuf-Inline-data.other_details"></a><h2>Types and Values</h2>
|
380
|
+
<div class="refsect2">
|
381
|
+
<a name="GdkPixdata"></a><h3>struct GdkPixdata</h3>
|
382
|
+
<pre class="programlisting">struct GdkPixdata {
|
383
|
+
guint32 magic; /* GDK_PIXBUF_MAGIC_NUMBER */
|
384
|
+
gint32 length; /* <1 to disable length checks, otherwise:
|
385
|
+
* GDK_PIXDATA_HEADER_LENGTH + pixel_data length
|
386
|
+
*/
|
387
|
+
guint32 pixdata_type; /* GdkPixdataType */
|
388
|
+
guint32 rowstride;
|
389
|
+
guint32 width;
|
390
|
+
guint32 height;
|
391
|
+
guint8 *pixel_data;
|
392
|
+
};
|
393
|
+
</pre>
|
394
|
+
<p>A <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> contains pixbuf information in a form suitable for
|
395
|
+
serialization and streaming.</p>
|
396
|
+
<div class="refsect3">
|
397
|
+
<a name="id-1.2.9.8.2.5"></a><h4>Members</h4>
|
398
|
+
<div class="informaltable"><table width="100%" border="0">
|
399
|
+
<colgroup>
|
400
|
+
<col width="300px" class="struct_members_name">
|
401
|
+
<col class="struct_members_description">
|
402
|
+
<col width="200px" class="struct_members_annotations">
|
403
|
+
</colgroup>
|
404
|
+
<tbody>
|
405
|
+
<tr>
|
406
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.magic"></a>magic</code></em>;</p></td>
|
407
|
+
<td class="struct_member_description"><p>magic number. A valid <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure must have
|
408
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXBUF-MAGIC-NUMBER:CAPS" title="GDK_PIXBUF_MAGIC_NUMBER"><span class="type">GDK_PIXBUF_MAGIC_NUMBER</span></a> here.</p></td>
|
409
|
+
<td class="struct_member_annotations"> </td>
|
410
|
+
</tr>
|
411
|
+
<tr>
|
412
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> <em class="structfield"><code><a name="GdkPixdata.length"></a>length</code></em>;</p></td>
|
413
|
+
<td class="struct_member_description"><p>less than 1 to disable length checks, otherwise
|
414
|
+
<a class="link" href="gdk-pixbuf-Inline-data.html#GDK-PIXDATA-HEADER-LENGTH:CAPS" title="GDK_PIXDATA_HEADER_LENGTH"><span class="type">GDK_PIXDATA_HEADER_LENGTH</span></a> + length of <em class="parameter"><code>pixel_data</code></em>
|
415
|
+
. </p></td>
|
416
|
+
<td class="struct_member_annotations"> </td>
|
417
|
+
</tr>
|
418
|
+
<tr>
|
419
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.pixdata-type"></a>pixdata_type</code></em>;</p></td>
|
420
|
+
<td class="struct_member_description"><p>information about colorspace, sample width and
|
421
|
+
encoding, in a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdataType" title="enum GdkPixdataType"><span class="type">GdkPixdataType</span></a>. </p></td>
|
422
|
+
<td class="struct_member_annotations"> </td>
|
423
|
+
</tr>
|
424
|
+
<tr>
|
425
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.rowstride"></a>rowstride</code></em>;</p></td>
|
426
|
+
<td class="struct_member_description"><p>Distance in bytes between rows.</p></td>
|
427
|
+
<td class="struct_member_annotations"> </td>
|
428
|
+
</tr>
|
429
|
+
<tr>
|
430
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.width"></a>width</code></em>;</p></td>
|
431
|
+
<td class="struct_member_description"><p>Width of the image in pixels.</p></td>
|
432
|
+
<td class="struct_member_annotations"> </td>
|
433
|
+
</tr>
|
434
|
+
<tr>
|
435
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkPixdata.height"></a>height</code></em>;</p></td>
|
436
|
+
<td class="struct_member_description"><p>Height of the image in pixels.</p></td>
|
437
|
+
<td class="struct_member_annotations"> </td>
|
438
|
+
</tr>
|
439
|
+
<tr>
|
440
|
+
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *<em class="structfield"><code><a name="GdkPixdata.pixel-data"></a>pixel_data</code></em>;</p></td>
|
441
|
+
<td class="struct_member_description"><p> <em class="parameter"><code>width</code></em>
|
442
|
+
x <em class="parameter"><code>height</code></em>
|
443
|
+
pixels, encoded according to <em class="parameter"><code>pixdata_type</code></em>
|
444
|
+
and <em class="parameter"><code>rowstride</code></em>
|
445
|
+
. </p></td>
|
446
|
+
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></td>
|
447
|
+
</tr>
|
448
|
+
</tbody>
|
449
|
+
</table></div>
|
450
|
+
</div>
|
451
|
+
</div>
|
452
|
+
<hr>
|
453
|
+
<div class="refsect2">
|
454
|
+
<a name="GdkPixdataType"></a><h3>enum GdkPixdataType</h3>
|
455
|
+
<p>An enumeration containing three sets of flags for a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> struct:
|
456
|
+
one for the used colorspace, one for the width of the samples and one
|
457
|
+
for the encoding of the pixel data.</p>
|
458
|
+
<div class="refsect3">
|
459
|
+
<a name="id-1.2.9.8.3.4"></a><h4>Members</h4>
|
460
|
+
<div class="informaltable"><table width="100%" border="0">
|
461
|
+
<colgroup>
|
462
|
+
<col width="300px" class="enum_members_name">
|
463
|
+
<col class="enum_members_description">
|
464
|
+
<col width="200px" class="enum_members_annotations">
|
465
|
+
</colgroup>
|
466
|
+
<tbody>
|
467
|
+
<tr>
|
468
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-COLOR-TYPE-RGB:CAPS"></a>GDK_PIXDATA_COLOR_TYPE_RGB</p></td>
|
469
|
+
<td class="enum_member_description">
|
470
|
+
<p>each pixel has red, green and blue samples.</p>
|
471
|
+
</td>
|
472
|
+
<td class="enum_member_annotations"> </td>
|
473
|
+
</tr>
|
474
|
+
<tr>
|
475
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-COLOR-TYPE-RGBA:CAPS"></a>GDK_PIXDATA_COLOR_TYPE_RGBA</p></td>
|
476
|
+
<td class="enum_member_description">
|
477
|
+
<p>each pixel has red, green and blue samples
|
478
|
+
and an alpha value.</p>
|
479
|
+
</td>
|
480
|
+
<td class="enum_member_annotations"> </td>
|
481
|
+
</tr>
|
482
|
+
<tr>
|
483
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-COLOR-TYPE-MASK:CAPS"></a>GDK_PIXDATA_COLOR_TYPE_MASK</p></td>
|
484
|
+
<td class="enum_member_description">
|
485
|
+
<p>mask for the colortype flags of the enum.</p>
|
486
|
+
</td>
|
487
|
+
<td class="enum_member_annotations"> </td>
|
488
|
+
</tr>
|
489
|
+
<tr>
|
490
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-SAMPLE-WIDTH-8:CAPS"></a>GDK_PIXDATA_SAMPLE_WIDTH_8</p></td>
|
491
|
+
<td class="enum_member_description">
|
492
|
+
<p>each sample has 8 bits.</p>
|
493
|
+
</td>
|
494
|
+
<td class="enum_member_annotations"> </td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-SAMPLE-WIDTH-MASK:CAPS"></a>GDK_PIXDATA_SAMPLE_WIDTH_MASK</p></td>
|
498
|
+
<td class="enum_member_description">
|
499
|
+
<p>mask for the sample width flags of the enum.</p>
|
500
|
+
</td>
|
501
|
+
<td class="enum_member_annotations"> </td>
|
502
|
+
</tr>
|
503
|
+
<tr>
|
504
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-ENCODING-RAW:CAPS"></a>GDK_PIXDATA_ENCODING_RAW</p></td>
|
505
|
+
<td class="enum_member_description">
|
506
|
+
<p>the pixel data is in raw form. </p>
|
507
|
+
</td>
|
508
|
+
<td class="enum_member_annotations"> </td>
|
509
|
+
</tr>
|
510
|
+
<tr>
|
511
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-ENCODING-RLE:CAPS"></a>GDK_PIXDATA_ENCODING_RLE</p></td>
|
512
|
+
<td class="enum_member_description">
|
513
|
+
<p>the pixel data is run-length encoded. Runs may
|
514
|
+
be up to 127 bytes long; their length is stored in a single byte
|
515
|
+
preceding the pixel data for the run. If a run is constant, its length
|
516
|
+
byte has the high bit set and the pixel data consists of a single pixel
|
517
|
+
which must be repeated. </p>
|
518
|
+
</td>
|
519
|
+
<td class="enum_member_annotations"> </td>
|
520
|
+
</tr>
|
521
|
+
<tr>
|
522
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-ENCODING-MASK:CAPS"></a>GDK_PIXDATA_ENCODING_MASK</p></td>
|
523
|
+
<td class="enum_member_description">
|
524
|
+
<p>mask for the encoding flags of the enum.</p>
|
525
|
+
</td>
|
526
|
+
<td class="enum_member_annotations"> </td>
|
527
|
+
</tr>
|
528
|
+
</tbody>
|
529
|
+
</table></div>
|
530
|
+
</div>
|
531
|
+
</div>
|
532
|
+
<hr>
|
533
|
+
<div class="refsect2">
|
534
|
+
<a name="GdkPixdataDumpType"></a><h3>enum GdkPixdataDumpType</h3>
|
535
|
+
<p>An enumeration which is used by <a class="link" href="gdk-pixbuf-Inline-data.html#gdk-pixdata-to-csource" title="gdk_pixdata_to_csource ()"><code class="function">gdk_pixdata_to_csource()</code></a> to
|
536
|
+
determine the form of C source to be generated. The three values
|
537
|
+
<em class="parameter"><code>GDK_PIXDATA_DUMP_PIXDATA_STREAM</code></em>
|
538
|
+
, <em class="parameter"><code>GDK_PIXDATA_DUMP_PIXDATA_STRUCT</code></em>
|
539
|
+
|
540
|
+
and <em class="parameter"><code>GDK_PIXDATA_DUMP_MACROS</code></em>
|
541
|
+
are mutually exclusive, as are
|
542
|
+
<em class="parameter"><code>GDK_PIXBUF_DUMP_GTYPES</code></em>
|
543
|
+
and <em class="parameter"><code>GDK_PIXBUF_DUMP_CTYPES</code></em>
|
544
|
+
. The remaining
|
545
|
+
elements are optional flags that can be freely added.</p>
|
546
|
+
<div class="refsect3">
|
547
|
+
<a name="id-1.2.9.8.4.4"></a><h4>Members</h4>
|
548
|
+
<div class="informaltable"><table width="100%" border="0">
|
549
|
+
<colgroup>
|
550
|
+
<col width="300px" class="enum_members_name">
|
551
|
+
<col class="enum_members_description">
|
552
|
+
<col width="200px" class="enum_members_annotations">
|
553
|
+
</colgroup>
|
554
|
+
<tbody>
|
555
|
+
<tr>
|
556
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-PIXDATA-STREAM:CAPS"></a>GDK_PIXDATA_DUMP_PIXDATA_STREAM</p></td>
|
557
|
+
<td class="enum_member_description">
|
558
|
+
<p>Generate pixbuf data stream (a single
|
559
|
+
string containing a serialized <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure in network byte
|
560
|
+
order).</p>
|
561
|
+
</td>
|
562
|
+
<td class="enum_member_annotations"> </td>
|
563
|
+
</tr>
|
564
|
+
<tr>
|
565
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-PIXDATA-STRUCT:CAPS"></a>GDK_PIXDATA_DUMP_PIXDATA_STRUCT</p></td>
|
566
|
+
<td class="enum_member_description">
|
567
|
+
<p>Generate <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure (needs
|
568
|
+
the <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure definition from gdk-pixdata.h).</p>
|
569
|
+
</td>
|
570
|
+
<td class="enum_member_annotations"> </td>
|
571
|
+
</tr>
|
572
|
+
<tr>
|
573
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-MACROS:CAPS"></a>GDK_PIXDATA_DUMP_MACROS</p></td>
|
574
|
+
<td class="enum_member_description">
|
575
|
+
<p>Generate <function>*_ROWSTRIDE</function>,
|
576
|
+
<function>*_WIDTH</function>, <function>*_HEIGHT</function>,
|
577
|
+
<function>*_BYTES_PER_PIXEL</function> and
|
578
|
+
<function>*_RLE_PIXEL_DATA</function> or <function>*_PIXEL_DATA</function>
|
579
|
+
macro definitions for the image.</p>
|
580
|
+
</td>
|
581
|
+
<td class="enum_member_annotations"> </td>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
584
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-GTYPES:CAPS"></a>GDK_PIXDATA_DUMP_GTYPES</p></td>
|
585
|
+
<td class="enum_member_description">
|
586
|
+
<p>Generate GLib data types instead of
|
587
|
+
standard C data types.</p>
|
588
|
+
</td>
|
589
|
+
<td class="enum_member_annotations"> </td>
|
590
|
+
</tr>
|
591
|
+
<tr>
|
592
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-CTYPES:CAPS"></a>GDK_PIXDATA_DUMP_CTYPES</p></td>
|
593
|
+
<td class="enum_member_description">
|
594
|
+
<p>Generate standard C data types instead of
|
595
|
+
GLib data types.</p>
|
596
|
+
</td>
|
597
|
+
<td class="enum_member_annotations"> </td>
|
598
|
+
</tr>
|
599
|
+
<tr>
|
600
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-STATIC:CAPS"></a>GDK_PIXDATA_DUMP_STATIC</p></td>
|
601
|
+
<td class="enum_member_description">
|
602
|
+
<p>Generate static symbols.</p>
|
603
|
+
</td>
|
604
|
+
<td class="enum_member_annotations"> </td>
|
605
|
+
</tr>
|
606
|
+
<tr>
|
607
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-CONST:CAPS"></a>GDK_PIXDATA_DUMP_CONST</p></td>
|
608
|
+
<td class="enum_member_description">
|
609
|
+
<p>Generate const symbols.</p>
|
610
|
+
</td>
|
611
|
+
<td class="enum_member_annotations"> </td>
|
612
|
+
</tr>
|
613
|
+
<tr>
|
614
|
+
<td class="enum_member_name"><p><a name="GDK-PIXDATA-DUMP-RLE-DECODER:CAPS"></a>GDK_PIXDATA_DUMP_RLE_DECODER</p></td>
|
615
|
+
<td class="enum_member_description">
|
616
|
+
<p>Provide a <function>*_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp)</function>
|
617
|
+
macro definition to decode run-length encoded image data.</p>
|
618
|
+
</td>
|
619
|
+
<td class="enum_member_annotations"> </td>
|
620
|
+
</tr>
|
621
|
+
</tbody>
|
622
|
+
</table></div>
|
623
|
+
</div>
|
624
|
+
</div>
|
625
|
+
<hr>
|
626
|
+
<div class="refsect2">
|
627
|
+
<a name="GDK-PIXDATA-HEADER-LENGTH:CAPS"></a><h3>GDK_PIXDATA_HEADER_LENGTH</h3>
|
628
|
+
<pre class="programlisting">#define GDK_PIXDATA_HEADER_LENGTH (4 + 4 + 4 + 4 + 4 + 4)
|
629
|
+
</pre>
|
630
|
+
<p>The length of a <a class="link" href="gdk-pixbuf-Inline-data.html#GdkPixdata" title="struct GdkPixdata"><span class="type">GdkPixdata</span></a> structure without the <em class="parameter"><code>pixel_data</code></em>
|
631
|
+
pointer.</p>
|
632
|
+
</div>
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
<div class="footer">
|
636
|
+
<hr>
|
637
|
+
Generated by GTK-Doc V1.20.1</div>
|
638
|
+
</body>
|
639
|
+
</html>
|