~ubuntu-branches/ubuntu/saucy/gimp/saucy-updates

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimppalette.html

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-08 13:26:03 UTC
  • mfrom: (1.1.28) (0.4.19 sid)
  • Revision ID: package-import@ubuntu.com-20130308132603-h14fmrgazi3roobr
Tags: 2.8.4-1ubuntu1
* Synchronize with Debian (LP: #1132767). Remaining changes:
  - debian/patches/02_help-message.patch,
    debian/patches/03_gimp.desktop.in.in.patch:
    + Update some strings for Ubuntu
  - debian/control:
    + Update description
  - debian/rules:
    + Set gettext domain and update translation templates
* Dropped changes:
  - CVE-2012-5576.patch: Applied in new version
  - fix-python-multiarch-includes.patch: No longer needed
* debian/patches/link-against-lm.patch:
  - Link against lm to fix underlinking build failure
* debian/control, debian/rules:
  - Run autoreconf for above patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-delete" title="gimp_palette_delete ()">gimp_palette_delete</a>                 (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
45
45
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-info" title="gimp_palette_get_info ()">gimp_palette_get_info</a>               (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
46
46
                                                         <em class="parameter"><code><span class="type">gint</span> *num_colors</code></em>);
47
 
<a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="returnvalue">GimpRGB</span></a> *           <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-colors" title="gimp_palette_get_colors ()">gimp_palette_get_colors</a>             (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
 
47
<a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="returnvalue">GimpRGB</span></a> *           <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-colors" title="gimp_palette_get_colors ()">gimp_palette_get_colors</a>             (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
48
48
                                                         <em class="parameter"><code><span class="type">gint</span> *num_colors</code></em>);
49
49
<span class="returnvalue">gint</span>                <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-columns" title="gimp_palette_get_columns ()">gimp_palette_get_columns</a>            (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
50
50
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-columns" title="gimp_palette_set_columns ()">gimp_palette_set_columns</a>            (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
51
51
                                                         <em class="parameter"><code><span class="type">gint</span> columns</code></em>);
52
52
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-add-entry" title="gimp_palette_add_entry ()">gimp_palette_add_entry</a>              (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
53
53
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *entry_name</code></em>,
54
 
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>,
 
54
                                                         <em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>,
55
55
                                                         <em class="parameter"><code><span class="type">gint</span> *entry_num</code></em>);
56
56
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-delete-entry" title="gimp_palette_delete_entry ()">gimp_palette_delete_entry</a>           (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
57
57
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>);
58
58
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-get-color" title="gimp_palette_entry_get_color ()">gimp_palette_entry_get_color</a>        (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
59
59
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>,
60
 
                                                         <em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
 
60
                                                         <em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
61
61
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-set-color" title="gimp_palette_entry_set_color ()">gimp_palette_entry_set_color</a>        (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
62
62
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>,
63
 
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
 
63
                                                         <em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
64
64
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-get-name" title="gimp_palette_entry_get_name ()">gimp_palette_entry_get_name</a>         (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
65
65
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>,
66
66
                                                         <em class="parameter"><code><span class="type">gchar</span> **entry_name</code></em>);
67
67
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-entry-set-name" title="gimp_palette_entry_set_name ()">gimp_palette_entry_set_name</a>         (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
68
68
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>,
69
69
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *entry_name</code></em>);
70
 
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-foreground" title="gimp_palette_get_foreground ()">gimp_palette_get_foreground</a>         (<em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);
71
 
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-background" title="gimp_palette_get_background ()">gimp_palette_get_background</a>         (<em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);
72
 
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-foreground" title="gimp_palette_set_foreground ()">gimp_palette_set_foreground</a>         (<em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);
73
 
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-background" title="gimp_palette_set_background ()">gimp_palette_set_background</a>         (<em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);
 
70
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-foreground" title="gimp_palette_get_foreground ()">gimp_palette_get_foreground</a>         (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);
 
71
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-get-background" title="gimp_palette_get_background ()">gimp_palette_get_background</a>         (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);
 
72
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-foreground" title="gimp_palette_set_foreground ()">gimp_palette_set_foreground</a>         (<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);
 
73
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-background" title="gimp_palette_set_background ()">gimp_palette_set_background</a>         (<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);
74
74
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-set-default-colors" title="gimp_palette_set_default_colors ()">gimp_palette_set_default_colors</a>     (<em class="parameter"><code><span class="type">void</span></code></em>);
75
75
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-swap-colors" title="gimp_palette_swap_colors ()">gimp_palette_swap_colors</a>            (<em class="parameter"><code><span class="type">void</span></code></em>);
76
76
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimppalette.html#gimp-palette-is-editable" title="gimp_palette_is_editable ()">gimp_palette_is_editable</a>            (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
222
222
<hr>
223
223
<div class="refsect2">
224
224
<a name="gimp-palette-get-colors"></a><h3>gimp_palette_get_colors ()</h3>
225
 
<pre class="programlisting"><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="returnvalue">GimpRGB</span></a> *           gimp_palette_get_colors             (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
 
225
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="returnvalue">GimpRGB</span></a> *           gimp_palette_get_colors             (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
226
226
                                                         <em class="parameter"><code><span class="type">gint</span> *num_colors</code></em>);</pre>
227
227
<p>
228
228
Gets all colors from the specified palette.
312
312
<a name="gimp-palette-add-entry"></a><h3>gimp_palette_add_entry ()</h3>
313
313
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_add_entry              (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
314
314
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *entry_name</code></em>,
315
 
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>,
 
315
                                                         <em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>,
316
316
                                                         <em class="parameter"><code><span class="type">gint</span> *entry_num</code></em>);</pre>
317
317
<p>
318
318
Adds a palette entry to the specified palette.
384
384
<a name="gimp-palette-entry-get-color"></a><h3>gimp_palette_entry_get_color ()</h3>
385
385
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_entry_get_color        (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
386
386
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>,
387
 
                                                         <em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
 
387
                                                         <em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
388
388
<p>
389
389
Gets the specified palette entry from the specified palette.
390
390
</p>
421
421
<a name="gimp-palette-entry-set-color"></a><h3>gimp_palette_entry_set_color ()</h3>
422
422
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_entry_set_color        (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
423
423
                                                         <em class="parameter"><code><span class="type">gint</span> entry_num</code></em>,
424
 
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
 
424
                                                         <em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
425
425
<p>
426
426
Sets the specified palette entry in the specified palette.
427
427
</p>
530
530
<hr>
531
531
<div class="refsect2">
532
532
<a name="gimp-palette-get-foreground"></a><h3>gimp_palette_get_foreground ()</h3>
533
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_get_foreground         (<em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);</pre>
 
533
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_get_foreground         (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);</pre>
534
534
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
535
535
<h3 class="title">Warning</h3>
536
536
<p><code class="literal">gimp_palette_get_foreground</code> is deprecated and should not be used in newly-written code.</p>
560
560
<hr>
561
561
<div class="refsect2">
562
562
<a name="gimp-palette-get-background"></a><h3>gimp_palette_get_background ()</h3>
563
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_get_background         (<em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);</pre>
 
563
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_get_background         (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);</pre>
564
564
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
565
565
<h3 class="title">Warning</h3>
566
566
<p><code class="literal">gimp_palette_get_background</code> is deprecated and should not be used in newly-written code.</p>
590
590
<hr>
591
591
<div class="refsect2">
592
592
<a name="gimp-palette-set-foreground"></a><h3>gimp_palette_set_foreground ()</h3>
593
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_set_foreground         (<em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);</pre>
 
593
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_set_foreground         (<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *foreground</code></em>);</pre>
594
594
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
595
595
<h3 class="title">Warning</h3>
596
596
<p><code class="literal">gimp_palette_set_foreground</code> is deprecated and should not be used in newly-written code.</p>
620
620
<hr>
621
621
<div class="refsect2">
622
622
<a name="gimp-palette-set-background"></a><h3>gimp_palette_set_background ()</h3>
623
 
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_set_background         (<em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);</pre>
 
623
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_palette_set_background         (<em class="parameter"><code>const <a href="/local/head/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *background</code></em>);</pre>
624
624
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
625
625
<h3 class="title">Warning</h3>
626
626
<p><code class="literal">gimp_palette_set_background</code> is deprecated and should not be used in newly-written code.</p>