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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
<a name="GimpOffsetArea.synopsis"></a><h2>Synopsis</h2>
57
57
<pre class="synopsis">
58
58
                    <a class="link" href="GimpOffsetArea.html#GimpOffsetArea-struct" title="GimpOffsetArea">GimpOffsetArea</a>;
59
 
<a
60
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
 
>GtkWidget</a>*          <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a>                (<a
62
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
63
 
>gint</a> orig_width,
64
 
                                                         <a
65
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
66
 
>gint</a> orig_height);
 
59
GtkWidget*          <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a>                (gint orig_width,
 
60
                                                         gint orig_height);
67
61
void                <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-size" title="gimp_offset_area_set_size ()">gimp_offset_area_set_size</a>           (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
68
 
                                                         <a
69
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
70
 
>gint</a> width,
71
 
                                                         <a
72
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
73
 
>gint</a> height);
 
62
                                                         gint width,
 
63
                                                         gint height);
74
64
void                <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-offsets" title="gimp_offset_area_set_offsets ()">gimp_offset_area_set_offsets</a>        (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
75
 
                                                         <a
76
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
77
 
>gint</a> offset_x,
78
 
                                                         <a
79
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
80
 
>gint</a> offset_y);
 
65
                                                         gint offset_x,
 
66
                                                         gint offset_y);
81
67
void                <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf" title="gimp_offset_area_set_pixbuf ()">gimp_offset_area_set_pixbuf</a>         (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
82
 
                                                         <a
83
 
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
84
 
>GdkPixbuf</a> *pixbuf);
 
68
                                                         GdkPixbuf *pixbuf);
85
69
</pre>
86
70
</div>
87
71
<div class="refsect1" lang="en">
88
72
<a name="GimpOffsetArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
89
73
<pre class="synopsis">
90
 
  <a
91
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
92
 
>GObject</a>
93
 
   +----<a
94
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
95
 
>GInitiallyUnowned</a>
96
 
         +----<a
97
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
98
 
>GtkObject</a>
99
 
               +----<a
100
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
101
 
>GtkWidget</a>
102
 
                     +----<a
103
 
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
104
 
>GtkDrawingArea</a>
 
74
  GObject
 
75
   +----GInitiallyUnowned
 
76
         +----GtkObject
 
77
               +----GtkWidget
 
78
                     +----GtkDrawingArea
105
79
                           +----GimpOffsetArea
106
80
</pre>
107
81
</div>
135
109
<hr>
136
110
<div class="refsect2" lang="en">
137
111
<a name="gimp-offset-area-new"></a><h3>gimp_offset_area_new ()</h3>
138
 
<pre class="programlisting"><a
139
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
140
 
>GtkWidget</a>*          gimp_offset_area_new                (<a
141
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
142
 
>gint</a> orig_width,
143
 
                                                         <a
144
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
145
 
>gint</a> orig_height);</pre>
 
112
<pre class="programlisting">GtkWidget*          gimp_offset_area_new                (gint orig_width,
 
113
                                                         gint orig_height);</pre>
146
114
<p>
147
115
Creates a new <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget. A <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> can be used
148
116
when resizing an image or a drawable to allow the user to interactively
175
143
<div class="refsect2" lang="en">
176
144
<a name="gimp-offset-area-set-size"></a><h3>gimp_offset_area_set_size ()</h3>
177
145
<pre class="programlisting">void                gimp_offset_area_set_size           (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
178
 
                                                         <a
179
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
180
 
>gint</a> width,
181
 
                                                         <a
182
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
183
 
>gint</a> height);</pre>
 
146
                                                         gint width,
 
147
                                                         gint height);</pre>
184
148
<p>
185
149
Sets the size of the image/drawable displayed by the <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
186
150
If the offsets change as a result of this change, the "offsets-changed"
213
177
<div class="refsect2" lang="en">
214
178
<a name="gimp-offset-area-set-offsets"></a><h3>gimp_offset_area_set_offsets ()</h3>
215
179
<pre class="programlisting">void                gimp_offset_area_set_offsets        (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
216
 
                                                         <a
217
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
218
 
>gint</a> offset_x,
219
 
                                                         <a
220
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
221
 
>gint</a> offset_y);</pre>
 
180
                                                         gint offset_x,
 
181
                                                         gint offset_y);</pre>
222
182
<p>
223
183
Sets the offsets of the image/drawable displayed by the <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
224
184
It does not emit the "offsets-changed" signal.</p>
250
210
<div class="refsect2" lang="en">
251
211
<a name="gimp-offset-area-set-pixbuf"></a><h3>gimp_offset_area_set_pixbuf ()</h3>
252
212
<pre class="programlisting">void                gimp_offset_area_set_pixbuf         (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
253
 
                                                         <a
254
 
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
255
 
>GdkPixbuf</a> *pixbuf);</pre>
 
213
                                                         GdkPixbuf *pixbuf);</pre>
256
214
<p>
257
215
Sets the pixbuf which represents the original image/drawable which
258
216
is being offset.</p>
269
227
</tr>
270
228
<tr>
271
229
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
272
 
<td> a <a
273
 
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
274
 
><span class="type">GdkPixbuf</span></a>.
 
230
<td> a <span class="type">GdkPixbuf</span>.
275
231
</td>
276
232
</tr>
277
233
</tbody>
285
241
<div class="refsect2" lang="en">
286
242
<a name="GimpOffsetArea-offsets-changed"></a><h3>The <code class="literal">"offsets-changed"</code> signal</h3>
287
243
<pre class="programlisting">void                user_function                      (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
288
 
                                                        <a
289
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
290
 
>gint</a>            arg1,
291
 
                                                        <a
292
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
293
 
>gint</a>            arg2,
294
 
                                                        <a
295
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
296
 
>gpointer</a>        user_data)           : Run First</pre>
 
244
                                                        gint            arg1,
 
245
                                                        gint            arg2,
 
246
                                                        gpointer        user_data)           : Run First</pre>
297
247
<p>
298
248
 
299
249
</p>