New upstream version 3.24.8
This commit is contained in:
@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrintContext.html#gtk-print-context-get-width" title="gtk_print_context_get_width ()">gtk_print_context_get_width</a> <span class="c_punctuation">()</span>
|
||||
@ -74,7 +74,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrintContext.html#gtk-print-context-get-height" title="gtk_print_context_get_height ()">gtk_print_context_get_height</a> <span class="c_punctuation">()</span>
|
||||
@ -82,7 +82,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrintContext.html#gtk-print-context-get-dpi-x" title="gtk_print_context_get_dpi_x ()">gtk_print_context_get_dpi_x</a> <span class="c_punctuation">()</span>
|
||||
@ -90,7 +90,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrintContext.html#gtk-print-context-get-dpi-y" title="gtk_print_context_get_dpi_y ()">gtk_print_context_get_dpi_y</a> <span class="c_punctuation">()</span>
|
||||
@ -122,7 +122,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkPrintContext.html#gtk-print-context-get-hard-margins" title="gtk_print_context_get_hard_margins ()">gtk_print_context_get_hard_margins</a> <span class="c_punctuation">()</span>
|
||||
@ -146,13 +146,13 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkPrintContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GtkPrintContext
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkPrintContext.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <gtk/gtkunixprint.h>
|
||||
<pre class="synopsis">#include <gtk/gtk.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -271,7 +271,7 @@ of the cairo surface.</p>
|
||||
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgb">cairo_set_source_rgb</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill">cairo_fill</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
||||
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -395,7 +395,7 @@ dimensions of the <a class="link" href="GtkPrintContext.html" title="GtkPrintCon
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-print-context-get-width"></a><h3>gtk_print_context_get_width ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gtk_print_context_get_width (<em class="parameter"><code><a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
|
||||
<p>Obtains the width of the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>, in pixels.</p>
|
||||
<div class="refsect3">
|
||||
@ -423,7 +423,7 @@ gtk_print_context_get_width (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-print-context-get-height"></a><h3>gtk_print_context_get_height ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gtk_print_context_get_height (<em class="parameter"><code><a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
|
||||
<p>Obtains the height of the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>, in pixels.</p>
|
||||
<div class="refsect3">
|
||||
@ -451,7 +451,7 @@ gtk_print_context_get_height (<em class="parameter"><code><a class="link" href="
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-print-context-get-dpi-x"></a><h3>gtk_print_context_get_dpi_x ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gtk_print_context_get_dpi_x (<em class="parameter"><code><a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
|
||||
<p>Obtains the horizontal resolution of the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>,
|
||||
in dots per inch.</p>
|
||||
@ -480,7 +480,7 @@ in dots per inch.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-print-context-get-dpi-y"></a><h3>gtk_print_context_get_dpi_y ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gtk_print_context_get_dpi_y (<em class="parameter"><code><a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context</code></em>);</pre>
|
||||
<p>Obtains the vertical resolution of the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>,
|
||||
in dots per inch.</p>
|
||||
@ -600,12 +600,12 @@ with the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><sp
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-print-context-get-hard-margins"></a><h3>gtk_print_context_get_hard_margins ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_print_context_get_hard_margins (<em class="parameter"><code><a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *top</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *bottom</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *left</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *right</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *top</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *bottom</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *left</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> *right</code></em>);</pre>
|
||||
<p>Obtains the hardware printer margins of the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>, in units.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-print-context-get-hard-margins.parameters"></a><h4>Parameters</h4>
|
||||
@ -646,7 +646,7 @@ gtk_print_context_get_hard_margins (<em class="parameter"><code><a class="link"
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-print-context-get-hard-margins.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the hard margins were retrieved</p>
|
||||
<p> <code class="literal">TRUE</code> if the hard margins were retrieved</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.20</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user