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

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/GimpZoomPreview.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:
54
54
<a name="GimpZoomPreview.synopsis"></a><h2>Synopsis</h2>
55
55
<pre class="synopsis">
56
56
                    <a class="link" href="GimpZoomPreview.html#GimpZoomPreview-struct" title="GimpZoomPreview">GimpZoomPreview</a>;
57
 
<a
58
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
59
 
>GtkWidget</a>*          <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-new" title="gimp_zoom_preview_new ()">gimp_zoom_preview_new</a>               (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);
60
 
<a
61
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
62
 
>GtkWidget</a>*          <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-new-with-model" title="gimp_zoom_preview_new_with_model ()">gimp_zoom_preview_new_with_model</a>    (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
 
57
GtkWidget*          <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-new" title="gimp_zoom_preview_new ()">gimp_zoom_preview_new</a>               (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);
 
58
GtkWidget*          <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-new-with-model" title="gimp_zoom_preview_new_with_model ()">gimp_zoom_preview_new_with_model</a>    (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
63
59
                                                         <a
64
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
60
href="../libgimpwidgets/GimpZoomModel.html"
65
61
>GimpZoomModel</a> *model);
66
 
<a
67
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
68
 
>guchar</a>*             <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-get-source" title="gimp_zoom_preview_get_source ()">gimp_zoom_preview_get_source</a>        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview,
69
 
                                                         <a
70
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
71
 
>gint</a> *width,
72
 
                                                         <a
73
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
74
 
>gint</a> *height,
75
 
                                                         <a
76
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
77
 
>gint</a> *bpp);
 
62
guchar*             <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-get-source" title="gimp_zoom_preview_get_source ()">gimp_zoom_preview_get_source</a>        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview,
 
63
                                                         gint *width,
 
64
                                                         gint *height,
 
65
                                                         gint *bpp);
78
66
<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a>*       <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-get-drawable" title="gimp_zoom_preview_get_drawable ()">gimp_zoom_preview_get_drawable</a>      (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);
79
 
<a
80
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
81
 
>gdouble</a>             <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-get-factor" title="gimp_zoom_preview_get_factor ()">gimp_zoom_preview_get_factor</a>        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);
82
 
<a
83
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
67
gdouble             <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-get-factor" title="gimp_zoom_preview_get_factor ()">gimp_zoom_preview_get_factor</a>        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);
 
68
<a
 
69
href="../libgimpwidgets/GimpZoomModel.html"
84
70
>GimpZoomModel</a>*      <a class="link" href="GimpZoomPreview.html#gimp-zoom-preview-get-model" title="gimp_zoom_preview_get_model ()">gimp_zoom_preview_get_model</a>         (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);
85
71
</pre>
86
72
</div>
87
73
<div class="refsect1" lang="en">
88
74
<a name="GimpZoomPreview.object-hierarchy"></a><h2>Object Hierarchy</h2>
89
75
<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/GtkContainer.html"
104
 
>GtkContainer</a>
105
 
                           +----<a
106
 
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
107
 
>GtkBox</a>
108
 
                                 +----<a
109
 
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
110
 
>GtkVBox</a>
 
76
  GObject
 
77
   +----GInitiallyUnowned
 
78
         +----GtkObject
 
79
               +----GtkWidget
 
80
                     +----GtkContainer
 
81
                           +----GtkBox
 
82
                                 +----GtkVBox
111
83
                                       +----<a
112
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpPreview.html"
 
84
href="../libgimpwidgets/GimpPreview.html"
113
85
>GimpPreview</a>
114
86
                                             +----<a
115
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpScrolledPreview.html"
 
87
href="../libgimpwidgets/GimpScrolledPreview.html"
116
88
>GimpScrolledPreview</a>
117
89
                                                   +----GimpZoomPreview
118
90
</pre>
126
98
<div class="refsect1" lang="en">
127
99
<a name="GimpZoomPreview.properties"></a><h2>Properties</h2>
128
100
<pre class="synopsis">
129
 
  "<a class="link" href="GimpZoomPreview.html#GimpZoomPreview--drawable" title='The "drawable" property'>drawable</a>"                 <a
130
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
131
 
>gpointer</a>              : Read / Write / Construct Only
 
101
  "<a class="link" href="GimpZoomPreview.html#GimpZoomPreview--drawable" title='The "drawable" property'>drawable</a>"                 gpointer              : Read / Write / Construct Only
132
102
  "<a class="link" href="GimpZoomPreview.html#GimpZoomPreview--model" title='The "model" property'>model</a>"                    <a
133
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
103
href="../libgimpwidgets/GimpZoomModel.html"
134
104
>GimpZoomModel</a>*        : Read / Write / Construct Only
135
105
</pre>
136
106
</div>
152
122
<hr>
153
123
<div class="refsect2" lang="en">
154
124
<a name="gimp-zoom-preview-new"></a><h3>gimp_zoom_preview_new ()</h3>
155
 
<pre class="programlisting"><a
156
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
157
 
>GtkWidget</a>*          gimp_zoom_preview_new               (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);</pre>
 
125
<pre class="programlisting">GtkWidget*          gimp_zoom_preview_new               (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable);</pre>
158
126
<p>
159
127
Creates a new <a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview"><span class="type">GimpZoomPreview</span></a> widget for <em class="parameter"><code>drawable</code></em>.</p>
160
128
<p>
183
151
<hr>
184
152
<div class="refsect2" lang="en">
185
153
<a name="gimp-zoom-preview-new-with-model"></a><h3>gimp_zoom_preview_new_with_model ()</h3>
186
 
<pre class="programlisting"><a
187
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
188
 
>GtkWidget</a>*          gimp_zoom_preview_new_with_model    (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
 
154
<pre class="programlisting">GtkWidget*          gimp_zoom_preview_new_with_model    (<a class="link" href="libgimp-gimpdrawable.html#GimpDrawable" title="GimpDrawable">GimpDrawable</a> *drawable,
189
155
                                                         <a
190
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
156
href="../libgimpwidgets/GimpZoomModel.html"
191
157
>GimpZoomModel</a> *model);</pre>
192
158
<p>
193
159
Creates a new <a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview"><span class="type">GimpZoomPreview</span></a> widget for <em class="parameter"><code>drawable</code></em> using the
212
178
<tr>
213
179
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
214
180
<td>    a <a
215
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
181
href="../libgimpwidgets/GimpZoomModel.html"
216
182
><span class="type">GimpZoomModel</span></a>
217
183
</td>
218
184
</tr>
231
197
<hr>
232
198
<div class="refsect2" lang="en">
233
199
<a name="gimp-zoom-preview-get-source"></a><h3>gimp_zoom_preview_get_source ()</h3>
234
 
<pre class="programlisting"><a
235
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
236
 
>guchar</a>*             gimp_zoom_preview_get_source        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview,
237
 
                                                         <a
238
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
239
 
>gint</a> *width,
240
 
                                                         <a
241
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
242
 
>gint</a> *height,
243
 
                                                         <a
244
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
245
 
>gint</a> *bpp);</pre>
 
200
<pre class="programlisting">guchar*             gimp_zoom_preview_get_source        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview,
 
201
                                                         gint *width,
 
202
                                                         gint *height,
 
203
                                                         gint *bpp);</pre>
246
204
<p>
247
205
Returns the scaled image data of the part of the drawable the
248
206
<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview"><span class="type">GimpZoomPreview</span></a> is currently showing, as a newly allocated array of guchar.
278
236
</tr>
279
237
<tr>
280
238
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
281
 
<td> newly allocated data that should be released using <a
282
 
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
283
 
><code class="function">g_free()</code></a>
 
239
<td> newly allocated data that should be released using <code class="function">g_free()</code>
284
240
              when it is not any longer needed
285
241
 
286
242
</td>
321
277
<hr>
322
278
<div class="refsect2" lang="en">
323
279
<a name="gimp-zoom-preview-get-factor"></a><h3>gimp_zoom_preview_get_factor ()</h3>
324
 
<pre class="programlisting"><a
325
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
326
 
>gdouble</a>             gimp_zoom_preview_get_factor        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);</pre>
 
280
<pre class="programlisting">gdouble             gimp_zoom_preview_get_factor        (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);</pre>
327
281
<p>
328
282
Returns the zoom factor the preview is currently using.</p>
329
283
<p>
352
306
<div class="refsect2" lang="en">
353
307
<a name="gimp-zoom-preview-get-model"></a><h3>gimp_zoom_preview_get_model ()</h3>
354
308
<pre class="programlisting"><a
355
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
309
href="../libgimpwidgets/GimpZoomModel.html"
356
310
>GimpZoomModel</a>*      gimp_zoom_preview_get_model         (<a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview">GimpZoomPreview</a> *preview);</pre>
357
311
<p>
358
312
Returns the <a
359
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
313
href="../libgimpwidgets/GimpZoomModel.html"
360
314
><span class="type">GimpZoomModel</span></a> the preview is using.</p>
361
315
<p>
362
316
 
372
326
<tr>
373
327
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
374
328
<td> a pointer to the <a
375
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
329
href="../libgimpwidgets/GimpZoomModel.html"
376
330
><span class="type">GimpZoomModel</span></a> owned by the <em class="parameter"><code>preview</code></em>
377
331
 
378
332
</td>
387
341
<a name="GimpZoomPreview.property-details"></a><h2>Property Details</h2>
388
342
<div class="refsect2" lang="en">
389
343
<a name="GimpZoomPreview--drawable"></a><h3>The <code class="literal">"drawable"</code> property</h3>
390
 
<pre class="programlisting">  "drawable"                 <a
391
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
392
 
>gpointer</a>              : Read / Write / Construct Only</pre>
 
344
<pre class="programlisting">  "drawable"                 gpointer              : Read / Write / Construct Only</pre>
393
345
<p>
394
346
The drawable the <a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview"><span class="type">GimpZoomPreview</span></a> is attached to.</p>
395
347
<p>
402
354
<div class="refsect2" lang="en">
403
355
<a name="GimpZoomPreview--model"></a><h3>The <code class="literal">"model"</code> property</h3>
404
356
<pre class="programlisting">  "model"                    <a
405
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
357
href="../libgimpwidgets/GimpZoomModel.html"
406
358
>GimpZoomModel</a>*        : Read / Write / Construct Only</pre>
407
359
<p>
408
360
The <a
409
 
href="/usr/share/gtk-doc/html/libgimpwidgets/GimpZoomModel.html"
 
361
href="../libgimpwidgets/GimpZoomModel.html"
410
362
><span class="type">GimpZoomModel</span></a> used by this <a class="link" href="GimpZoomPreview.html" title="GimpZoomPreview"><span class="type">GimpZoomPreview</span></a>.</p>
411
363
<p>
412
364