New upstream version 3.24.29
This commit is contained in:
@ -167,7 +167,7 @@ can be used with GDK. GTK+ does all of its drawing using cairo.</p>
|
||||
<p>GDK does not wrap the cairo API, instead it allows to create cairo
|
||||
contexts which can be used to draw on <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>. Additional
|
||||
functions allow use <span class="type">GdkRectangles</span> with cairo and to use <a href="gdk3-Colors.html#GdkColor"><span class="type">GdkColors</span></a>,
|
||||
<a href="gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBAs</span></a>, <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbufs</span></a> and <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> as sources for drawing
|
||||
<a href="gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBAs</span></a>, <span class="type">GdkPixbufs</span> and <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> as sources for drawing
|
||||
operations.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -529,7 +529,7 @@ gdk_cairo_set_source_rgba (<em class="parameter"><code><a href="/usr/share/gtk-d
|
||||
<a name="gdk-cairo-set-source-pixbuf"></a><h3>gdk_cairo_set_source_pixbuf ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_cairo_set_source_pixbuf (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
||||
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> pixbuf_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> pixbuf_y</code></em>);</pre>
|
||||
<p>Sets the given pixbuf as the source pattern for <em class="parameter"><code>cr</code></em>
|
||||
@ -555,7 +555,7 @@ so that the origin of <em class="parameter"><code>pixbuf</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pixbuf</p></td>
|
||||
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -729,7 +729,7 @@ set with <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo
|
||||
<div class="refsect2">
|
||||
<a name="gdk-cairo-surface-create-from-pixbuf"></a><h3>gdk_cairo_surface_create_from_pixbuf ()</h3>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *
|
||||
gdk_cairo_surface_create_from_pixbuf (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
||||
gdk_cairo_surface_create_from_pixbuf (<em class="parameter"><code>const <span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><span class="type">int</span> scale</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *for_window</code></em>);</pre>
|
||||
<p>Creates an image surface with the same contents as
|
||||
@ -745,7 +745,7 @@ the pixbuf.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pixbuf</p></td>
|
||||
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GdkPixbuf</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -91,7 +91,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<span class="returnvalue">GdkPixbuf</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Cursors.html#gdk-cursor-get-image" title="gdk_cursor_get_image ()">gdk_cursor_get_image</a> <span class="c_punctuation">()</span>
|
||||
@ -239,7 +239,7 @@ See <a class="link" href="gdk3-Cursors.html#gdk-cursor-new-for-display" title="g
|
||||
<a name="gdk-cursor-new-from-pixbuf"></a><h3>gdk_cursor_new_from_pixbuf ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="returnvalue">GdkCursor</span></a> *
|
||||
gdk_cursor_new_from_pixbuf (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
||||
<p>Creates a new cursor from a pixbuf.</p>
|
||||
@ -275,7 +275,7 @@ sufficently new version of the X Render extension.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pixbuf</p></td>
|
||||
<td class="parameter_description"><p>the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> containing the cursor image</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GdkPixbuf</span> containing the cursor image</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -500,9 +500,9 @@ gdk_cursor_get_display (<em class="parameter"><code><a class="link" href="gdk3-C
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-cursor-get-image"></a><h3>gdk_cursor_get_image ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
||||
gdk_cursor_get_image (<em class="parameter"><code><a class="link" href="gdk3-Cursors.html#GdkCursor"><span class="type">GdkCursor</span></a> *cursor</code></em>);</pre>
|
||||
<p>Returns a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> with the image used to display the cursor.</p>
|
||||
<p>Returns a <span class="type">GdkPixbuf</span> with the image used to display the cursor.</p>
|
||||
<p>Note that depending on the capabilities of the windowing system and
|
||||
on the cursor, GDK may not be able to obtain the image data. In this
|
||||
case, <code class="literal">NULL</code> is returned.</p>
|
||||
@ -523,7 +523,7 @@ case, <code class="literal">NULL</code> is returned.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-cursor-get-image.returns"></a><h4>Returns</h4>
|
||||
<p>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> representing
|
||||
<p>a <span class="type">GdkPixbuf</span> representing
|
||||
<em class="parameter"><code>cursor</code></em>
|
||||
, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<span class="returnvalue">GdkPixbuf</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Pixbufs.html#gdk-pixbuf-get-from-window" title="gdk_pixbuf_get_from_window ()">gdk_pixbuf_get_from_window</a> <span class="c_punctuation">()</span>
|
||||
@ -49,7 +49,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<span class="returnvalue">GdkPixbuf</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-Pixbufs.html#gdk-pixbuf-get-from-surface" title="gdk_pixbuf_get_from_surface ()">gdk_pixbuf_get_from_surface</a> <span class="c_punctuation">()</span>
|
||||
@ -66,7 +66,7 @@
|
||||
<div class="refsect1">
|
||||
<a name="gdk3-Pixbufs.description"></a><h2>Description</h2>
|
||||
<p>Pixbufs are client-side images. For details on how to create
|
||||
and manipulate pixbufs, see the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> API documentation.</p>
|
||||
and manipulate pixbufs, see the <span class="type">GdkPixbuf</span> API documentation.</p>
|
||||
<p>The functions described here allow to obtain pixbufs from
|
||||
<a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> and cairo surfaces.</p>
|
||||
</div>
|
||||
@ -74,14 +74,14 @@ and manipulate pixbufs, see the <a href="http://library.gnome.org/devel/gdk-pixb
|
||||
<a name="gdk3-Pixbufs.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-pixbuf-get-from-window"></a><h3>gdk_pixbuf_get_from_window ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
||||
gdk_pixbuf_get_from_window (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> src_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> src_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Transfers image data from a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> and converts it to an RGB(A)
|
||||
representation inside a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. In other words, copies
|
||||
representation inside a <span class="type">GdkPixbuf</span>. In other words, copies
|
||||
image data from a server-side drawable to a client-side RGB(A) buffer.
|
||||
This allows you to efficiently read individual pixels on the client side.</p>
|
||||
<p>This function will create an RGB pixbuf with 8 bits per channel with
|
||||
@ -153,14 +153,14 @@ reference count of 1, or <code class="literal">NULL</code> on error. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-pixbuf-get-from-surface"></a><h3>gdk_pixbuf_get_from_surface ()</h3>
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
||||
gdk_pixbuf_get_from_surface (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> src_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> src_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<p>Transfers image data from a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> and converts it to an RGB(A)
|
||||
representation inside a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. This allows you to efficiently read
|
||||
representation inside a <span class="type">GdkPixbuf</span>. This allows you to efficiently read
|
||||
individual pixels from cairo surfaces. For <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>, use
|
||||
<a class="link" href="gdk3-Pixbufs.html#gdk-pixbuf-get-from-window" title="gdk_pixbuf_get_from_window ()"><code class="function">gdk_pixbuf_get_from_window()</code></a> instead.</p>
|
||||
<p>This function will create an RGB pixbuf with 8 bits per channel.
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<div>
|
||||
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GDK 3 Reference Manual</p></th></tr></table></div>
|
||||
<div><p class="releaseinfo">
|
||||
This document is for the GDK 3 library, version 3.24.28
|
||||
This document is for the GDK 3 library, version 3.24.29
|
||||
|
||||
The latest versions can be found online at
|
||||
<a class="ulink" href="https://developer.gnome.org/gdk3/" target="_top">https://developer.gnome.org/gdk3/</a>.
|
||||
|
||||
Reference in New Issue
Block a user