~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/libgimpwidgets-GimpCairoUtils.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-10 00:13:42 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20081010001342-uja9qine9uybggd9
Tags: 2.6.1-1ubuntu1
* Sync new bugfix version on debian (lp: #280345, #280848)
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch:
  - updated some strings for ubuntu
* debian/rules:
  - updated translation templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
                                                         const <a
63
63
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
64
64
>GimpRGB</a> *color);
65
 
gboolean            <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-set-focus-line-pattern" title="gimp_cairo_set_focus_line_pattern ()">gimp_cairo_set_focus_line_pattern</a>   (<a
 
65
<a
 
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
67
>gboolean</a>            <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-set-focus-line-pattern" title="gimp_cairo_set_focus_line_pattern ()">gimp_cairo_set_focus_line_pattern</a>   (<a
66
68
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
67
69
>cairo_t</a> *cr,
68
 
                                                         GtkWidget *widget);
 
70
                                                         <a
 
71
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
 
72
>GtkWidget</a> *widget);
69
73
<a
70
74
href="/usr/share/gtk-doc/html/cairo/cairo-Patterns.html#cairo-pattern-t"
71
75
>cairo_pattern_t</a>*    <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-checkerboard-create" title="gimp_cairo_checkerboard_create ()">gimp_cairo_checkerboard_create</a>      (<a
72
76
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
73
77
>cairo_t</a> *cr,
74
 
                                                         gint size,
 
78
                                                         <a
 
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
80
>gint</a> size,
75
81
                                                         const <a
76
82
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
77
83
>GimpRGB</a> *light,
81
87
<a
82
88
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"
83
89
>cairo_surface_t</a>*    <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-surface-create-from-pixbuf" title="gimp_cairo_surface_create_from_pixbuf ()">gimp_cairo_surface_create_from_pixbuf</a>
84
 
                                                        (GdkPixbuf *pixbuf);
 
90
                                                        (<a
 
91
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
 
92
>GdkPixbuf</a> *pixbuf);
85
93
#define             <a class="link" href="libgimpwidgets-GimpCairoUtils.html#GIMP-CAIRO-RGB24-SET-PIXEL:CAPS" title="GIMP_CAIRO_RGB24_SET_PIXEL()">GIMP_CAIRO_RGB24_SET_PIXEL</a>          (d, r, g, b)
86
94
#define             <a class="link" href="libgimpwidgets-GimpCairoUtils.html#GIMP-CAIRO-ARGB32-SET-PIXEL:CAPS" title="GIMP_CAIRO_ARGB32_SET_PIXEL()">GIMP_CAIRO_ARGB32_SET_PIXEL</a>         (d, r, g, b, a)
87
95
</pre>
172
180
<hr>
173
181
<div class="refsect2" lang="en">
174
182
<a name="gimp-cairo-set-focus-line-pattern"></a><h3>gimp_cairo_set_focus_line_pattern ()</h3>
175
 
<pre class="programlisting">gboolean            gimp_cairo_set_focus_line_pattern   (<a
 
183
<pre class="programlisting"><a
 
184
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
185
>gboolean</a>            gimp_cairo_set_focus_line_pattern   (<a
176
186
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
177
187
>cairo_t</a> *cr,
178
 
                                                         GtkWidget *widget);</pre>
 
188
                                                         <a
 
189
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
 
190
>GtkWidget</a> *widget);</pre>
179
191
<p>
180
192
Sets color and dash pattern for stroking a focus line on the given
181
193
<em class="parameter"><code>cr</code></em>. The line pattern is taken from <em class="parameter"><code>widget</code></em>.</p>
197
209
</tr>
198
210
<tr>
199
211
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
200
 
<td> <code class="literal">TRUE</code> if the widget style has a focus line pattern,
201
 
              <code class="literal">FALSE</code> otherwise
 
212
<td> <a
 
213
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
214
><code class="literal">TRUE</code></a> if the widget style has a focus line pattern,
 
215
              <a
 
216
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
217
><code class="literal">FALSE</code></a> otherwise
202
218
 
203
219
</td>
204
220
</tr>
215
231
>cairo_pattern_t</a>*    gimp_cairo_checkerboard_create      (<a
216
232
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
217
233
>cairo_t</a> *cr,
218
 
                                                         gint size,
 
234
                                                         <a
 
235
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
 
236
>gint</a> size,
219
237
                                                         const <a
220
238
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
221
239
>GimpRGB</a> *light,
242
260
</tr>
243
261
<tr>
244
262
<td><p><span class="term"><em class="parameter"><code>light</code></em> :</span></p></td>
245
 
<td> light check color or <code class="literal">NULL</code> to use the default light gray
 
263
<td> light check color or <a
 
264
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
265
><code class="literal">NULL</code></a> to use the default light gray
246
266
</td>
247
267
</tr>
248
268
<tr>
249
269
<td><p><span class="term"><em class="parameter"><code>dark</code></em> :</span></p></td>
250
 
<td>  dark check color or <code class="literal">NULL</code> to use the default dark gray
 
270
<td>  dark check color or <a
 
271
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
 
272
><code class="literal">NULL</code></a> to use the default dark gray
251
273
</td>
252
274
</tr>
253
275
<tr>
267
289
<pre class="programlisting"><a
268
290
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"
269
291
>cairo_surface_t</a>*    gimp_cairo_surface_create_from_pixbuf
270
 
                                                        (GdkPixbuf *pixbuf);</pre>
 
292
                                                        (<a
 
293
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
 
294
>GdkPixbuf</a> *pixbuf);</pre>
271
295
<p>
272
296
Create a Cairo image surface from a GdkPixbuf.
273
297
</p>