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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimptile</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
 
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
9
9
<link rel="prev" href="libgimp-gimptexttool.html" title="gimptexttool">
10
10
<link rel="next" href="libgimp-gimptools.html" title="gimptools">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimptools.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2562486" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2558925" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2618678" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2661106" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimptile"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2562486"></a><span class="refentrytitle">gimptile</span>
 
43
<a name="id2558925"></a><span class="refentrytitle">gimptile</span>
41
44
</h2>
42
45
<p>gimptile &#8212; Functions for working with tiles.</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
            <a href="libgimp-gimptile.html#GimpTile">GimpTile</a>;
53
 
void        <a href="libgimp-gimptile.html#gimp-tile-ref">gimp_tile_ref</a>                   (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);
54
 
void        <a href="libgimp-gimptile.html#gimp-tile-ref-zero">gimp_tile_ref_zero</a>              (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);
55
 
void        <a href="libgimp-gimptile.html#gimp-tile-unref">gimp_tile_unref</a>                 (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile,
56
 
                                             gboolean dirty);
57
 
void        <a href="libgimp-gimptile.html#gimp-tile-flush">gimp_tile_flush</a>                 (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);
58
 
void        <a href="libgimp-gimptile.html#gimp-tile-cache-size">gimp_tile_cache_size</a>            (gulong kilobytes);
59
 
void        <a href="libgimp-gimptile.html#gimp-tile-cache-ntiles">gimp_tile_cache_ntiles</a>          (gulong ntiles);
 
55
                    <a href="libgimp-gimptile.html#GimpTile">GimpTile</a>;
 
56
void                <a href="libgimp-gimptile.html#gimp-tile-ref">gimp_tile_ref</a>                       (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);
 
57
void                <a href="libgimp-gimptile.html#gimp-tile-ref-zero">gimp_tile_ref_zero</a>                  (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);
 
58
void                <a href="libgimp-gimptile.html#gimp-tile-unref">gimp_tile_unref</a>                     (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile,
 
59
                                                         gboolean dirty);
 
60
void                <a href="libgimp-gimptile.html#gimp-tile-flush">gimp_tile_flush</a>                     (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);
 
61
void                <a href="libgimp-gimptile.html#gimp-tile-cache-size">gimp_tile_cache_size</a>                (gulong kilobytes);
 
62
void                <a href="libgimp-gimptile.html#gimp-tile-cache-ntiles">gimp_tile_cache_ntiles</a>              (gulong ntiles);
60
63
</pre>
61
64
</div>
62
65
<div class="refsect1" lang="en">
63
 
<a name="id2618678"></a><h2>Description</h2>
 
66
<a name="id2661106"></a><h2>Description</h2>
64
67
<p>
65
68
Functions for working with tiles.
66
69
 
67
70
</p>
68
71
</div>
69
72
<div class="refsect1" lang="en">
70
 
<a name="id2618694"></a><h2>Details</h2>
 
73
<a name="id2661121"></a><h2>Details</h2>
71
74
<div class="refsect2" lang="en">
72
 
<a name="id2618704"></a><h3>
 
75
<a name="id2661132"></a><h3>
73
76
<a name="GimpTile"></a>GimpTile</h3>
74
 
<a class="indexterm" name="id2618716"></a><pre class="programlisting">typedef struct {
 
77
<a class="indexterm" name="id2661144"></a><pre class="programlisting">typedef struct {
75
78
  guint         ewidth;     /* the effective width of the tile */
76
79
  guint         eheight;    /* the effective height of the tile */
77
80
  guint         bpp;        /* the bytes per pixel (1, 2, 3 or 4 ) */
89
92
</div>
90
93
<hr>
91
94
<div class="refsect2" lang="en">
92
 
<a name="id2536610"></a><h3>
 
95
<a name="id2661169"></a><h3>
93
96
<a name="gimp-tile-ref"></a>gimp_tile_ref ()</h3>
94
 
<a class="indexterm" name="id2526878"></a><pre class="programlisting">void        gimp_tile_ref                   (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);</pre>
 
97
<a class="indexterm" name="id2661180"></a><pre class="programlisting">void                gimp_tile_ref                       (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);</pre>
95
98
<p>
96
99
 
97
100
</p>
98
101
<div class="variablelist"><table border="0">
99
102
<col align="left" valign="top">
100
103
<tbody><tr>
101
 
<td>
102
 
<span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
 
104
<td><span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
103
105
<td>
104
106
 
105
107
 
109
111
</div>
110
112
<hr>
111
113
<div class="refsect2" lang="en">
112
 
<a name="id2623849"></a><h3>
 
114
<a name="id2648488"></a><h3>
113
115
<a name="gimp-tile-ref-zero"></a>gimp_tile_ref_zero ()</h3>
114
 
<a class="indexterm" name="id2623860"></a><pre class="programlisting">void        gimp_tile_ref_zero              (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);</pre>
 
116
<a class="indexterm" name="id2648499"></a><pre class="programlisting">void                gimp_tile_ref_zero                  (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);</pre>
115
117
<p>
116
118
 
117
119
</p>
118
120
<div class="variablelist"><table border="0">
119
121
<col align="left" valign="top">
120
122
<tbody><tr>
121
 
<td>
122
 
<span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
 
123
<td><span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
123
124
<td>
124
125
 
125
126
 
129
130
</div>
130
131
<hr>
131
132
<div class="refsect2" lang="en">
132
 
<a name="id2623904"></a><h3>
 
133
<a name="id2648544"></a><h3>
133
134
<a name="gimp-tile-unref"></a>gimp_tile_unref ()</h3>
134
 
<a class="indexterm" name="id2623915"></a><pre class="programlisting">void        gimp_tile_unref                 (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile,
135
 
                                             gboolean dirty);</pre>
 
135
<a class="indexterm" name="id2648556"></a><pre class="programlisting">void                gimp_tile_unref                     (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile,
 
136
                                                         gboolean dirty);</pre>
136
137
<p>
137
138
 
138
139
</p>
140
141
<col align="left" valign="top">
141
142
<tbody>
142
143
<tr>
143
 
<td>
144
 
<span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
 
144
<td><span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
145
145
<td>
146
146
</td>
147
147
</tr>
148
148
<tr>
149
 
<td>
150
 
<span class="term"><em class="parameter"><code>dirty</code></em>&#160;:</span></td>
 
149
<td><span class="term"><em class="parameter"><code>dirty</code></em>&#160;:</span></td>
151
150
<td>
152
151
 
153
152
 
158
157
</div>
159
158
<hr>
160
159
<div class="refsect2" lang="en">
161
 
<a name="id2623981"></a><h3>
 
160
<a name="id2666254"></a><h3>
162
161
<a name="gimp-tile-flush"></a>gimp_tile_flush ()</h3>
163
 
<a class="indexterm" name="id2623993"></a><pre class="programlisting">void        gimp_tile_flush                 (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);</pre>
 
162
<a class="indexterm" name="id2666266"></a><pre class="programlisting">void                gimp_tile_flush                     (<a href="libgimp-gimptile.html#GimpTile">GimpTile</a> *tile);</pre>
164
163
<p>
165
164
 
166
165
</p>
167
166
<div class="variablelist"><table border="0">
168
167
<col align="left" valign="top">
169
168
<tbody><tr>
170
 
<td>
171
 
<span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
 
169
<td><span class="term"><em class="parameter"><code>tile</code></em>&#160;:</span></td>
172
170
<td>
173
171
 
174
172
 
178
176
</div>
179
177
<hr>
180
178
<div class="refsect2" lang="en">
181
 
<a name="id2623510"></a><h3>
 
179
<a name="id2666311"></a><h3>
182
180
<a name="gimp-tile-cache-size"></a>gimp_tile_cache_size ()</h3>
183
 
<a class="indexterm" name="id2623521"></a><pre class="programlisting">void        gimp_tile_cache_size            (gulong kilobytes);</pre>
 
181
<a class="indexterm" name="id2666322"></a><pre class="programlisting">void                gimp_tile_cache_size                (gulong kilobytes);</pre>
184
182
<p>
185
183
Sets the size of the tile cache on the plug-in side. The tile cache
186
184
is used to reduce the number of tiles exchanged between the GIMP core
191
189
<div class="variablelist"><table border="0">
192
190
<col align="left" valign="top">
193
191
<tbody><tr>
194
 
<td>
195
 
<span class="term"><em class="parameter"><code>kilobytes</code></em>&#160;:</span></td>
 
192
<td><span class="term"><em class="parameter"><code>kilobytes</code></em>&#160;:</span></td>
196
193
<td> new cache size in kilobytes
197
194
</td>
198
195
</tr></tbody>
200
197
</div>
201
198
<hr>
202
199
<div class="refsect2" lang="en">
203
 
<a name="id2623580"></a><h3>
 
200
<a name="id2666382"></a><h3>
204
201
<a name="gimp-tile-cache-ntiles"></a>gimp_tile_cache_ntiles ()</h3>
205
 
<a class="indexterm" name="id2623592"></a><pre class="programlisting">void        gimp_tile_cache_ntiles          (gulong ntiles);</pre>
 
202
<a class="indexterm" name="id2668988"></a><pre class="programlisting">void                gimp_tile_cache_ntiles              (gulong ntiles);</pre>
206
203
<p>
207
204
Sets the size of the tile cache on the plug-in side. This function
208
205
is similar to <a href="libgimp-gimptile.html#gimp-tile-cache-size"><code class="function">gimp_tile_cache_size()</code></a> but allows to specify the
220
217
<div class="variablelist"><table border="0">
221
218
<col align="left" valign="top">
222
219
<tbody><tr>
223
 
<td>
224
 
<span class="term"><em class="parameter"><code>ntiles</code></em>&#160;:</span></td>
 
220
<td><span class="term"><em class="parameter"><code>ntiles</code></em>&#160;:</span></td>
225
221
<td> number of tiles that should fit into the cache
226
222
</td>
227
223
</tr></tbody>