gdk_pixbuf2 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/dependency-check/Rakefile +1 -2
- data/lib/gdk_pixbuf2/pixbuf.rb +19 -3
- data/test/test-pixbuf.rb +22 -5
- 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/gdk-pixbuf-thumbnailer.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-enum-types.h +1 -1
- data/vendor/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +20 -18
- data/vendor/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +47 -47
- 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 +2 -2
- data/vendor/local/lib/libgdk_pixbuf-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk_pixbuf-2.0.la +2 -2
- data/vendor/local/lib/pkgconfig/gdk-pixbuf-2.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html +89 -89
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-saving.html +103 -103
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html +22 -22
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Inline-data.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Module-Interface.html +51 -51
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Reference-Counting-and-Memory-Mangement.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Scaling.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-X-Drawables-to-Pixbufs.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-XlibRGB.html +4 -4
- data/vendor/local/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer +2 -2
- metadata +7 -7
@@ -100,16 +100,16 @@ performed by these functions instead.</p>
|
|
100
100
|
<a name="gdk-pixbuf-add-alpha"></a><h3>gdk_pixbuf_add_alpha ()</h3>
|
101
101
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *
|
102
102
|
gdk_pixbuf_add_alpha (<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>,
|
103
|
-
<em class="parameter"><code><a href="
|
104
|
-
<em class="parameter"><code><a href="
|
105
|
-
<em class="parameter"><code><a href="
|
106
|
-
<em class="parameter"><code><a href="
|
103
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> substitute_color</code></em>,
|
104
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> r</code></em>,
|
105
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> g</code></em>,
|
106
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> b</code></em>);</pre>
|
107
107
|
<p>Takes an existing pixbuf and adds an alpha channel to it.
|
108
108
|
If the existing pixbuf already had an alpha channel, the channel
|
109
109
|
values are copied from the original; otherwise, the alpha channel
|
110
110
|
is initialized to 255 (full opacity).</p>
|
111
111
|
<p>If <em class="parameter"><code>substitute_color</code></em>
|
112
|
-
is <a href="
|
112
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then the color specified by (<em class="parameter"><code>r</code></em>
|
113
113
|
, <em class="parameter"><code>g</code></em>
|
114
114
|
, <em class="parameter"><code>b</code></em>
|
115
115
|
) will be
|
@@ -132,7 +132,7 @@ substitute color, all white pixels will become fully transparent.</p>
|
|
132
132
|
<tr>
|
133
133
|
<td class="parameter_name"><p>substitute_color</p></td>
|
134
134
|
<td class="parameter_description"><p>Whether to set a color to zero opacity. If this
|
135
|
-
is <a href="
|
135
|
+
is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the (<em class="parameter"><code>r</code></em>
|
136
136
|
, <em class="parameter"><code>g</code></em>
|
137
137
|
, <em class="parameter"><code>b</code></em>
|
138
138
|
) arguments will be ignored.</p></td>
|
@@ -244,8 +244,8 @@ Therefore, you can not use this function to scroll a pixbuf.</p>
|
|
244
244
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
245
245
|
gdk_pixbuf_saturate_and_pixelate (<em class="parameter"><code>const <a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *src</code></em>,
|
246
246
|
<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *dest</code></em>,
|
247
|
-
<em class="parameter"><code><a href="
|
248
|
-
<em class="parameter"><code><a href="
|
247
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> saturation</code></em>,
|
248
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> pixelate</code></em>);</pre>
|
249
249
|
<p>Modifies saturation and optionally pixelates <em class="parameter"><code>src</code></em>
|
250
250
|
, placing the result in
|
251
251
|
<em class="parameter"><code>dest</code></em>
|
@@ -257,7 +257,7 @@ gdk_pixbuf_saturate_and_pixelate (<em class="parameter"><code>const <a class="li
|
|
257
257
|
saturation is reduced (the image turns toward grayscale); if greater than
|
258
258
|
1.0, saturation is increased (the image gets more vivid colors). If <em class="parameter"><code>pixelate</code></em>
|
259
259
|
|
260
|
-
is <a href="
|
260
|
+
is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then pixels are faded in a checkerboard pattern to create a
|
261
261
|
pixelated image. <em class="parameter"><code>src</code></em>
|
262
262
|
and <em class="parameter"><code>dest</code></em>
|
263
263
|
must have the same image format, size, and
|
@@ -326,7 +326,7 @@ is oriented correctly.</p>
|
|
326
326
|
</div>
|
327
327
|
<div class="refsect3">
|
328
328
|
<a name="gdk-pixbuf-apply-embedded-orientation.returns"></a><h4>Returns</h4>
|
329
|
-
<p> A newly-created pixbuf, <a href="
|
329
|
+
<p> A newly-created pixbuf, <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
330
330
|
not enough memory could be allocated for it, or a reference to the
|
331
331
|
input pixbuf (with an increased reference count). </p>
|
332
332
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -338,7 +338,7 @@ input pixbuf (with an increased reference count). </p>
|
|
338
338
|
<a name="gdk-pixbuf-fill"></a><h3>gdk_pixbuf_fill ()</h3>
|
339
339
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
340
340
|
gdk_pixbuf_fill (<em class="parameter"><code><a class="link" href="gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
341
|
-
<em class="parameter"><code><a href="
|
341
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> pixel</code></em>);</pre>
|
342
342
|
<p>Clears a pixbuf to the given RGBA value, converting the RGBA value into
|
343
343
|
the pixbuf's pixel format. The alpha will be ignored if the pixbuf
|
344
344
|
doesn't have an alpha channel.</p>
|
@@ -87,7 +87,7 @@ If the drawable is a window, the <em class="parameter"><code>cmap</code></em>
|
|
87
87
|
argument will be ignored and the
|
88
88
|
window's own colormap will be used instead.</p>
|
89
89
|
<p>If the specified destination pixbuf <em class="parameter"><code>dest</code></em>
|
90
|
-
is <a href="
|
90
|
+
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, then this function will
|
91
91
|
create an RGB pixbuf with 8 bits per channel and no alpha, with the same size
|
92
92
|
specified by the <em class="parameter"><code>width</code></em>
|
93
93
|
and <em class="parameter"><code>height</code></em>
|
@@ -95,11 +95,11 @@ specified by the <em class="parameter"><code>width</code></em>
|
|
95
95
|
and
|
96
96
|
<em class="parameter"><code>dest_y</code></em>
|
97
97
|
arguments must be specified as 0, otherwise the function will return
|
98
|
-
<a href="
|
98
|
+
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>. If the specified destination pixbuf is not NULL and it contains alpha
|
99
99
|
information, then the filled pixels will be set to full opacity.</p>
|
100
100
|
<p>If the specified drawable is a pixmap, then the requested source rectangle
|
101
101
|
must be completely contained within the pixmap, otherwise the function will
|
102
|
-
return <a href="
|
102
|
+
return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.</p>
|
103
103
|
<p>If the specified drawable is a window, then it must be viewable, i.e. all of
|
104
104
|
its ancestors up to the root window must be mapped. Also, the specified
|
105
105
|
source rectangle must be completely contained within the window and within
|
@@ -327,7 +327,7 @@ be one of the supported visual depths in the specified <em class="parameter"><co
|
|
327
327
|
<div class="refsect2">
|
328
328
|
<a name="xlib-rgb-xpixel-from-rgb"></a><h3>xlib_rgb_xpixel_from_rgb ()</h3>
|
329
329
|
<pre class="programlisting">unsigned <span class="returnvalue">long</span>
|
330
|
-
xlib_rgb_xpixel_from_rgb (<em class="parameter"><code><a href="
|
330
|
+
xlib_rgb_xpixel_from_rgb (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> rgb</code></em>);</pre>
|
331
331
|
<p>Converts an RGB triplet into the closest color that XlibRGB visual can
|
332
332
|
handle.</p>
|
333
333
|
<div class="refsect3">
|
@@ -356,7 +356,7 @@ XlibRGB visual and colormap.</p>
|
|
356
356
|
<a name="xlib-rgb-gc-set-foreground"></a><h3>xlib_rgb_gc_set_foreground ()</h3>
|
357
357
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
358
358
|
xlib_rgb_gc_set_foreground (<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
359
|
-
<em class="parameter"><code><a href="
|
359
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> rgb</code></em>);</pre>
|
360
360
|
<p>This is a convenience function to set the foreground of a GC from an RGB
|
361
361
|
triplet. It calls <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb ()"><code class="function">xlib_rgb_xpixel_from_rgb()</code></a> internally and uses the
|
362
362
|
returned pixel value to set the GC's foreground.</p>
|
@@ -388,7 +388,7 @@ returned pixel value to set the GC's foreground.</p>
|
|
388
388
|
<a name="xlib-rgb-gc-set-background"></a><h3>xlib_rgb_gc_set_background ()</h3>
|
389
389
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
390
390
|
xlib_rgb_gc_set_background (<em class="parameter"><code><span class="type">GC</span> gc</code></em>,
|
391
|
-
<em class="parameter"><code><a href="
|
391
|
+
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> rgb</code></em>);</pre>
|
392
392
|
<p>This is a convenience function to set the background of a GC from an RGB
|
393
393
|
triplet. It calls <a class="link" href="gdk-pixbuf-XlibRGB.html#xlib-rgb-xpixel-from-rgb" title="xlib_rgb_xpixel_from_rgb ()"><code class="function">xlib_rgb_xpixel_from_rgb()</code></a> internally and uses the
|
394
394
|
returned pixel value to set the GC's background.</p>
|
@@ -738,7 +738,7 @@ upper-left corner of the rectangular region to render.</p></td>
|
|
738
738
|
<div class="refsect2">
|
739
739
|
<a name="xlib-rgb-cmap-new"></a><h3>xlib_rgb_cmap_new ()</h3>
|
740
740
|
<pre class="programlisting"><a class="link" href="gdk-pixbuf-XlibRGB.html#XlibRgbCmap" title="struct XlibRgbCmap"><span class="returnvalue">XlibRgbCmap</span></a> *
|
741
|
-
xlib_rgb_cmap_new (<em class="parameter"><code><a href="
|
741
|
+
xlib_rgb_cmap_new (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *colors</code></em>,
|
742
742
|
<em class="parameter"><code><span class="type">int</span> n_colors</code></em>);</pre>
|
743
743
|
<p>FIXME</p>
|
744
744
|
<div class="refsect3">
|
@@ -1,4 +1,4 @@
|
|
1
1
|
[Thumbnailer Entry]
|
2
|
-
TryExec=/home/vagrant/ruby-gnome2
|
3
|
-
Exec=/home/vagrant/ruby-gnome2
|
2
|
+
TryExec=/home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/bin/gdk-pixbuf-thumbnailer
|
3
|
+
Exec=/home/vagrant/ruby-gnome2/gdk_pixbuf2/vendor/local/bin/gdk-pixbuf-thumbnailer -s %s %u %o
|
4
4
|
MimeType=
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdk_pixbuf2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.2
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gio2
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.2.
|
19
|
+
version: 3.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2.
|
26
|
+
version: 3.2.2
|
27
27
|
description: Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -247,10 +247,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
247
|
requirements:
|
248
248
|
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '2.
|
250
|
+
version: '2.2'
|
251
251
|
- - "<"
|
252
252
|
- !ruby/object:Gem::Version
|
253
|
-
version: '2.
|
253
|
+
version: '2.6'
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
255
|
requirements:
|
256
256
|
- - ">="
|
@@ -258,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
260
|
rubyforge_project:
|
261
|
-
rubygems_version: 2.
|
261
|
+
rubygems_version: 2.7.6
|
262
262
|
signing_key:
|
263
263
|
specification_version: 4
|
264
264
|
summary: Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.
|