Imported Upstream version 2.6.7
[platform/upstream/harfbuzz.git] / docs / html / harfbuzz-hb-set.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>hb-set: HarfBuzz Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7 <link rel="home" href="index.html" title="HarfBuzz Manual">
8 <link rel="up" href="ch12.html" title="Core API">
9 <link rel="prev" href="harfbuzz-hb-map.html" title="hb-map">
10 <link rel="next" href="harfbuzz-hb-shape-plan.html" title="hb-shape-plan">
11 <meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#harfbuzz-hb-set.description" class="shortcut">Description</a></span>
19 </td>
20 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21 <td><a accesskey="u" href="ch12.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="harfbuzz-hb-map.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="harfbuzz-hb-shape-plan.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24 </tr></table>
25 <div class="refentry">
26 <a name="harfbuzz-hb-set"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
28 <td valign="top">
29 <h2><span class="refentrytitle"><a name="harfbuzz-hb-set.top_of_page"></a>hb-set</span></h2>
30 <p>hb-set — Object representing a set of integers</p>
31 </td>
32 <td class="gallery_image" valign="top" align="right"></td>
33 </tr></table></div>
34 <div class="refsect1">
35 <a name="harfbuzz-hb-set.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table class="informaltable" width="100%" border="0">
37 <colgroup>
38 <col width="150px" class="functions_proto_type">
39 <col class="functions_proto_name">
40 </colgroup>
41 <tbody>
42 <tr>
43 <td class="function_type">
44 <span class="returnvalue">void</span>
45 </td>
46 <td class="function_name">
47 <a class="link" href="harfbuzz-hb-set.html#hb-set-add" title="hb_set_add ()">hb_set_add</a> <span class="c_punctuation">()</span>
48 </td>
49 </tr>
50 <tr>
51 <td class="function_type">
52 <span class="returnvalue">void</span>
53 </td>
54 <td class="function_name">
55 <a class="link" href="harfbuzz-hb-set.html#hb-set-add-range" title="hb_set_add_range ()">hb_set_add_range</a> <span class="c_punctuation">()</span>
56 </td>
57 </tr>
58 <tr>
59 <td class="function_type">
60 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
61 </td>
62 <td class="function_name">
63 <a class="link" href="harfbuzz-hb-set.html#hb-set-allocation-successful" title="hb_set_allocation_successful ()">hb_set_allocation_successful</a> <span class="c_punctuation">()</span>
64 </td>
65 </tr>
66 <tr>
67 <td class="function_type">
68 <span class="returnvalue">void</span>
69 </td>
70 <td class="function_name">
71 <a class="link" href="harfbuzz-hb-set.html#hb-set-clear" title="hb_set_clear ()">hb_set_clear</a> <span class="c_punctuation">()</span>
72 </td>
73 </tr>
74 <tr>
75 <td class="function_type">
76 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
77 </td>
78 <td class="function_name">
79 <a class="link" href="harfbuzz-hb-set.html#hb-set-create" title="hb_set_create ()">hb_set_create</a> <span class="c_punctuation">()</span>
80 </td>
81 </tr>
82 <tr>
83 <td class="function_type">
84 <span class="returnvalue">void</span>
85 </td>
86 <td class="function_name">
87 <a class="link" href="harfbuzz-hb-set.html#hb-set-del" title="hb_set_del ()">hb_set_del</a> <span class="c_punctuation">()</span>
88 </td>
89 </tr>
90 <tr>
91 <td class="function_type">
92 <span class="returnvalue">void</span>
93 </td>
94 <td class="function_name">
95 <a class="link" href="harfbuzz-hb-set.html#hb-set-del-range" title="hb_set_del_range ()">hb_set_del_range</a> <span class="c_punctuation">()</span>
96 </td>
97 </tr>
98 <tr>
99 <td class="function_type">
100 <span class="returnvalue">void</span>
101 </td>
102 <td class="function_name">
103 <a class="link" href="harfbuzz-hb-set.html#hb-set-destroy" title="hb_set_destroy ()">hb_set_destroy</a> <span class="c_punctuation">()</span>
104 </td>
105 </tr>
106 <tr>
107 <td class="function_type">
108 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
109 </td>
110 <td class="function_name">
111 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-empty" title="hb_set_get_empty ()">hb_set_get_empty</a> <span class="c_punctuation">()</span>
112 </td>
113 </tr>
114 <tr>
115 <td class="function_type">
116 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
117 </td>
118 <td class="function_name">
119 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-max" title="hb_set_get_max ()">hb_set_get_max</a> <span class="c_punctuation">()</span>
120 </td>
121 </tr>
122 <tr>
123 <td class="function_type">
124 <a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
125 </td>
126 <td class="function_name">
127 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-min" title="hb_set_get_min ()">hb_set_get_min</a> <span class="c_punctuation">()</span>
128 </td>
129 </tr>
130 <tr>
131 <td class="function_type">unsigned <span class="returnvalue">int</span>
132 </td>
133 <td class="function_name">
134 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-population" title="hb_set_get_population ()">hb_set_get_population</a> <span class="c_punctuation">()</span>
135 </td>
136 </tr>
137 <tr>
138 <td class="function_type">
139 <span class="returnvalue">void</span> *
140 </td>
141 <td class="function_name">
142 <a class="link" href="harfbuzz-hb-set.html#hb-set-get-user-data" title="hb_set_get_user_data ()">hb_set_get_user_data</a> <span class="c_punctuation">()</span>
143 </td>
144 </tr>
145 <tr>
146 <td class="function_type">
147 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
148 </td>
149 <td class="function_name">
150 <a class="link" href="harfbuzz-hb-set.html#hb-set-has" title="hb_set_has ()">hb_set_has</a> <span class="c_punctuation">()</span>
151 </td>
152 </tr>
153 <tr>
154 <td class="function_type">
155 <span class="returnvalue">void</span>
156 </td>
157 <td class="function_name">
158 <a class="link" href="harfbuzz-hb-set.html#hb-set-intersect" title="hb_set_intersect ()">hb_set_intersect</a> <span class="c_punctuation">()</span>
159 </td>
160 </tr>
161 <tr>
162 <td class="function_type">
163 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
164 </td>
165 <td class="function_name">
166 <a class="link" href="harfbuzz-hb-set.html#hb-set-is-empty" title="hb_set_is_empty ()">hb_set_is_empty</a> <span class="c_punctuation">()</span>
167 </td>
168 </tr>
169 <tr>
170 <td class="function_type">
171 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
172 </td>
173 <td class="function_name">
174 <a class="link" href="harfbuzz-hb-set.html#hb-set-is-equal" title="hb_set_is_equal ()">hb_set_is_equal</a> <span class="c_punctuation">()</span>
175 </td>
176 </tr>
177 <tr>
178 <td class="function_type">
179 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
180 </td>
181 <td class="function_name">
182 <a class="link" href="harfbuzz-hb-set.html#hb-set-is-subset" title="hb_set_is_subset ()">hb_set_is_subset</a> <span class="c_punctuation">()</span>
183 </td>
184 </tr>
185 <tr>
186 <td class="function_type">
187 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
188 </td>
189 <td class="function_name">
190 <a class="link" href="harfbuzz-hb-set.html#hb-set-next" title="hb_set_next ()">hb_set_next</a> <span class="c_punctuation">()</span>
191 </td>
192 </tr>
193 <tr>
194 <td class="function_type">
195 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
196 </td>
197 <td class="function_name">
198 <a class="link" href="harfbuzz-hb-set.html#hb-set-next-range" title="hb_set_next_range ()">hb_set_next_range</a> <span class="c_punctuation">()</span>
199 </td>
200 </tr>
201 <tr>
202 <td class="function_type">
203 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
204 </td>
205 <td class="function_name">
206 <a class="link" href="harfbuzz-hb-set.html#hb-set-previous" title="hb_set_previous ()">hb_set_previous</a> <span class="c_punctuation">()</span>
207 </td>
208 </tr>
209 <tr>
210 <td class="function_type">
211 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
212 </td>
213 <td class="function_name">
214 <a class="link" href="harfbuzz-hb-set.html#hb-set-previous-range" title="hb_set_previous_range ()">hb_set_previous_range</a> <span class="c_punctuation">()</span>
215 </td>
216 </tr>
217 <tr>
218 <td class="function_type">
219 <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
220 </td>
221 <td class="function_name">
222 <a class="link" href="harfbuzz-hb-set.html#hb-set-reference" title="hb_set_reference ()">hb_set_reference</a> <span class="c_punctuation">()</span>
223 </td>
224 </tr>
225 <tr>
226 <td class="function_type">
227 <span class="returnvalue">void</span>
228 </td>
229 <td class="function_name">
230 <a class="link" href="harfbuzz-hb-set.html#hb-set-set" title="hb_set_set ()">hb_set_set</a> <span class="c_punctuation">()</span>
231 </td>
232 </tr>
233 <tr>
234 <td class="function_type">
235 <a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
236 </td>
237 <td class="function_name">
238 <a class="link" href="harfbuzz-hb-set.html#hb-set-set-user-data" title="hb_set_set_user_data ()">hb_set_set_user_data</a> <span class="c_punctuation">()</span>
239 </td>
240 </tr>
241 <tr>
242 <td class="function_type">
243 <span class="returnvalue">void</span>
244 </td>
245 <td class="function_name">
246 <a class="link" href="harfbuzz-hb-set.html#hb-set-subtract" title="hb_set_subtract ()">hb_set_subtract</a> <span class="c_punctuation">()</span>
247 </td>
248 </tr>
249 <tr>
250 <td class="function_type">
251 <span class="returnvalue">void</span>
252 </td>
253 <td class="function_name">
254 <a class="link" href="harfbuzz-hb-set.html#hb-set-symmetric-difference" title="hb_set_symmetric_difference ()">hb_set_symmetric_difference</a> <span class="c_punctuation">()</span>
255 </td>
256 </tr>
257 <tr>
258 <td class="function_type">
259 <span class="returnvalue">void</span>
260 </td>
261 <td class="function_name">
262 <a class="link" href="harfbuzz-hb-set.html#hb-set-union" title="hb_set_union ()">hb_set_union</a> <span class="c_punctuation">()</span>
263 </td>
264 </tr>
265 </tbody>
266 </table></div>
267 </div>
268 <div class="refsect1">
269 <a name="harfbuzz-hb-set.other"></a><h2>Types and Values</h2>
270 <div class="informaltable"><table class="informaltable" width="100%" border="0">
271 <colgroup>
272 <col width="150px" class="other_proto_type">
273 <col class="other_proto_name">
274 </colgroup>
275 <tbody>
276 <tr>
277 <td class="define_keyword">#define</td>
278 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID">HB_SET_VALUE_INVALID</a></td>
279 </tr>
280 <tr>
281 <td class="typedef_keyword">typedef</td>
282 <td class="function_name"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t">hb_set_t</a></td>
283 </tr>
284 </tbody>
285 </table></div>
286 </div>
287 <div class="refsect1">
288 <a name="harfbuzz-hb-set.includes"></a><h2>Includes</h2>
289 <pre class="synopsis">#include &lt;hb.h&gt;
290 </pre>
291 </div>
292 <div class="refsect1">
293 <a name="harfbuzz-hb-set.description"></a><h2>Description</h2>
294 <p>Set objects represent a mathematical set of integer values.  They are
295 used in non-shaping API to query certain set of characters or glyphs,
296 or other integer values.</p>
297 </div>
298 <div class="refsect1">
299 <a name="harfbuzz-hb-set.functions_details"></a><h2>Functions</h2>
300 <div class="refsect2">
301 <a name="hb-set-add"></a><h3>hb_set_add ()</h3>
302 <pre class="programlisting"><span class="returnvalue">void</span>
303 hb_set_add (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
304             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>);</pre>
305 <div class="refsect3">
306 <a name="hb-set-add.parameters"></a><h4>Parameters</h4>
307 <div class="informaltable"><table class="informaltable" width="100%" border="0">
308 <colgroup>
309 <col width="150px" class="parameters_name">
310 <col class="parameters_description">
311 <col width="200px" class="parameters_annotations">
312 </colgroup>
313 <tbody><tr>
314 <td class="parameter_name"><p>set</p></td>
315 <td class="parameter_description"><p>a set.</p></td>
316 <td class="parameter_annotations"> </td>
317 </tr></tbody>
318 </table></div>
319 </div>
320 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
321 </div>
322 <hr>
323 <div class="refsect2">
324 <a name="hb-set-add-range"></a><h3>hb_set_add_range ()</h3>
325 <pre class="programlisting"><span class="returnvalue">void</span>
326 hb_set_add_range (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
327                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> first</code></em>,
328                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> last</code></em>);</pre>
329 <div class="refsect3">
330 <a name="hb-set-add-range.parameters"></a><h4>Parameters</h4>
331 <div class="informaltable"><table class="informaltable" width="100%" border="0">
332 <colgroup>
333 <col width="150px" class="parameters_name">
334 <col class="parameters_description">
335 <col width="200px" class="parameters_annotations">
336 </colgroup>
337 <tbody><tr>
338 <td class="parameter_name"><p>set</p></td>
339 <td class="parameter_description"><p>a set.</p></td>
340 <td class="parameter_annotations"> </td>
341 </tr></tbody>
342 </table></div>
343 </div>
344 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
345 </div>
346 <hr>
347 <div class="refsect2">
348 <a name="hb-set-allocation-successful"></a><h3>hb_set_allocation_successful ()</h3>
349 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
350 hb_set_allocation_successful (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
351 <div class="refsect3">
352 <a name="hb-set-allocation-successful.parameters"></a><h4>Parameters</h4>
353 <div class="informaltable"><table class="informaltable" width="100%" border="0">
354 <colgroup>
355 <col width="150px" class="parameters_name">
356 <col class="parameters_description">
357 <col width="200px" class="parameters_annotations">
358 </colgroup>
359 <tbody><tr>
360 <td class="parameter_name"><p>set</p></td>
361 <td class="parameter_description"><p>a set.</p></td>
362 <td class="parameter_annotations"> </td>
363 </tr></tbody>
364 </table></div>
365 </div>
366 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
367 </div>
368 <hr>
369 <div class="refsect2">
370 <a name="hb-set-clear"></a><h3>hb_set_clear ()</h3>
371 <pre class="programlisting"><span class="returnvalue">void</span>
372 hb_set_clear (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
373 <div class="refsect3">
374 <a name="hb-set-clear.parameters"></a><h4>Parameters</h4>
375 <div class="informaltable"><table class="informaltable" width="100%" border="0">
376 <colgroup>
377 <col width="150px" class="parameters_name">
378 <col class="parameters_description">
379 <col width="200px" class="parameters_annotations">
380 </colgroup>
381 <tbody><tr>
382 <td class="parameter_name"><p>set</p></td>
383 <td class="parameter_description"><p>a set.</p></td>
384 <td class="parameter_annotations"> </td>
385 </tr></tbody>
386 </table></div>
387 </div>
388 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
389 </div>
390 <hr>
391 <div class="refsect2">
392 <a name="hb-set-create"></a><h3>hb_set_create ()</h3>
393 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
394 hb_set_create (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
395 <p><span class="annotation">[Xconstructor]</span></p>
396 <div class="refsect3">
397 <a name="hb-set-create.returns"></a><h4>Returns</h4>
398 <p>. </p>
399 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
400 </div>
401 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
402 </div>
403 <hr>
404 <div class="refsect2">
405 <a name="hb-set-del"></a><h3>hb_set_del ()</h3>
406 <pre class="programlisting"><span class="returnvalue">void</span>
407 hb_set_del (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
408             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>);</pre>
409 <div class="refsect3">
410 <a name="hb-set-del.parameters"></a><h4>Parameters</h4>
411 <div class="informaltable"><table class="informaltable" width="100%" border="0">
412 <colgroup>
413 <col width="150px" class="parameters_name">
414 <col class="parameters_description">
415 <col width="200px" class="parameters_annotations">
416 </colgroup>
417 <tbody><tr>
418 <td class="parameter_name"><p>set</p></td>
419 <td class="parameter_description"><p>a set.</p></td>
420 <td class="parameter_annotations"> </td>
421 </tr></tbody>
422 </table></div>
423 </div>
424 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
425 </div>
426 <hr>
427 <div class="refsect2">
428 <a name="hb-set-del-range"></a><h3>hb_set_del_range ()</h3>
429 <pre class="programlisting"><span class="returnvalue">void</span>
430 hb_set_del_range (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
431                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> first</code></em>,
432                   <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> last</code></em>);</pre>
433 <div class="refsect3">
434 <a name="hb-set-del-range.parameters"></a><h4>Parameters</h4>
435 <div class="informaltable"><table class="informaltable" width="100%" border="0">
436 <colgroup>
437 <col width="150px" class="parameters_name">
438 <col class="parameters_description">
439 <col width="200px" class="parameters_annotations">
440 </colgroup>
441 <tbody><tr>
442 <td class="parameter_name"><p>set</p></td>
443 <td class="parameter_description"><p>a set.</p></td>
444 <td class="parameter_annotations"> </td>
445 </tr></tbody>
446 </table></div>
447 </div>
448 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
449 </div>
450 <hr>
451 <div class="refsect2">
452 <a name="hb-set-destroy"></a><h3>hb_set_destroy ()</h3>
453 <pre class="programlisting"><span class="returnvalue">void</span>
454 hb_set_destroy (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
455 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
456 <div class="refsect3">
457 <a name="hb-set-destroy.parameters"></a><h4>Parameters</h4>
458 <div class="informaltable"><table class="informaltable" width="100%" border="0">
459 <colgroup>
460 <col width="150px" class="parameters_name">
461 <col class="parameters_description">
462 <col width="200px" class="parameters_annotations">
463 </colgroup>
464 <tbody><tr>
465 <td class="parameter_name"><p>set</p></td>
466 <td class="parameter_description"><p>a set.</p></td>
467 <td class="parameter_annotations"> </td>
468 </tr></tbody>
469 </table></div>
470 </div>
471 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
472 </div>
473 <hr>
474 <div class="refsect2">
475 <a name="hb-set-get-empty"></a><h3>hb_set_get_empty ()</h3>
476 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
477 hb_set_get_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
478 <div class="refsect3">
479 <a name="hb-set-get-empty.returns"></a><h4>Returns</h4>
480 <p>. </p>
481 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
482 </div>
483 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
484 </div>
485 <hr>
486 <div class="refsect2">
487 <a name="hb-set-get-max"></a><h3>hb_set_get_max ()</h3>
488 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
489 hb_set_get_max (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
490 <p>Finds the maximum number in the set.</p>
491 <div class="refsect3">
492 <a name="hb-set-get-max.parameters"></a><h4>Parameters</h4>
493 <div class="informaltable"><table class="informaltable" width="100%" border="0">
494 <colgroup>
495 <col width="150px" class="parameters_name">
496 <col class="parameters_description">
497 <col width="200px" class="parameters_annotations">
498 </colgroup>
499 <tbody><tr>
500 <td class="parameter_name"><p>set</p></td>
501 <td class="parameter_description"><p>a set.</p></td>
502 <td class="parameter_annotations"> </td>
503 </tr></tbody>
504 </table></div>
505 </div>
506 <div class="refsect3">
507 <a name="hb-set-get-max.returns"></a><h4>Returns</h4>
508 <p> minimum of the set, or <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> if set is empty.</p>
509 </div>
510 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
511 </div>
512 <hr>
513 <div class="refsect2">
514 <a name="hb-set-get-min"></a><h3>hb_set_get_min ()</h3>
515 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="returnvalue">hb_codepoint_t</span></a>
516 hb_set_get_min (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
517 <p>Finds the minimum number in the set.</p>
518 <div class="refsect3">
519 <a name="hb-set-get-min.parameters"></a><h4>Parameters</h4>
520 <div class="informaltable"><table class="informaltable" width="100%" border="0">
521 <colgroup>
522 <col width="150px" class="parameters_name">
523 <col class="parameters_description">
524 <col width="200px" class="parameters_annotations">
525 </colgroup>
526 <tbody><tr>
527 <td class="parameter_name"><p>set</p></td>
528 <td class="parameter_description"><p>a set.</p></td>
529 <td class="parameter_annotations"> </td>
530 </tr></tbody>
531 </table></div>
532 </div>
533 <div class="refsect3">
534 <a name="hb-set-get-min.returns"></a><h4>Returns</h4>
535 <p> minimum of the set, or <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> if set is empty.</p>
536 </div>
537 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
538 </div>
539 <hr>
540 <div class="refsect2">
541 <a name="hb-set-get-population"></a><h3>hb_set_get_population ()</h3>
542 <pre class="programlisting">unsigned <span class="returnvalue">int</span>
543 hb_set_get_population (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
544 <p>Returns the number of numbers in the set.</p>
545 <div class="refsect3">
546 <a name="hb-set-get-population.parameters"></a><h4>Parameters</h4>
547 <div class="informaltable"><table class="informaltable" width="100%" border="0">
548 <colgroup>
549 <col width="150px" class="parameters_name">
550 <col class="parameters_description">
551 <col width="200px" class="parameters_annotations">
552 </colgroup>
553 <tbody><tr>
554 <td class="parameter_name"><p>set</p></td>
555 <td class="parameter_description"><p>a set.</p></td>
556 <td class="parameter_annotations"> </td>
557 </tr></tbody>
558 </table></div>
559 </div>
560 <div class="refsect3">
561 <a name="hb-set-get-population.returns"></a><h4>Returns</h4>
562 <p> set population.</p>
563 </div>
564 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
565 </div>
566 <hr>
567 <div class="refsect2">
568 <a name="hb-set-get-user-data"></a><h3>hb_set_get_user_data ()</h3>
569 <pre class="programlisting"><span class="returnvalue">void</span> *
570 hb_set_get_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
571                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>);</pre>
572 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
573 <div class="refsect3">
574 <a name="hb-set-get-user-data.parameters"></a><h4>Parameters</h4>
575 <div class="informaltable"><table class="informaltable" width="100%" border="0">
576 <colgroup>
577 <col width="150px" class="parameters_name">
578 <col class="parameters_description">
579 <col width="200px" class="parameters_annotations">
580 </colgroup>
581 <tbody><tr>
582 <td class="parameter_name"><p>set</p></td>
583 <td class="parameter_description"><p>a set.</p></td>
584 <td class="parameter_annotations"> </td>
585 </tr></tbody>
586 </table></div>
587 </div>
588 <div class="refsect3">
589 <a name="hb-set-get-user-data.returns"></a><h4>Returns</h4>
590 <p>. </p>
591 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
592 </div>
593 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
594 </div>
595 <hr>
596 <div class="refsect2">
597 <a name="hb-set-has"></a><h3>hb_set_has ()</h3>
598 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
599 hb_set_has (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
600             <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> codepoint</code></em>);</pre>
601 <div class="refsect3">
602 <a name="hb-set-has.parameters"></a><h4>Parameters</h4>
603 <div class="informaltable"><table class="informaltable" width="100%" border="0">
604 <colgroup>
605 <col width="150px" class="parameters_name">
606 <col class="parameters_description">
607 <col width="200px" class="parameters_annotations">
608 </colgroup>
609 <tbody><tr>
610 <td class="parameter_name"><p>set</p></td>
611 <td class="parameter_description"><p>a set.</p></td>
612 <td class="parameter_annotations"> </td>
613 </tr></tbody>
614 </table></div>
615 </div>
616 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
617 </div>
618 <hr>
619 <div class="refsect2">
620 <a name="hb-set-intersect"></a><h3>hb_set_intersect ()</h3>
621 <pre class="programlisting"><span class="returnvalue">void</span>
622 hb_set_intersect (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
623                   <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
624 <div class="refsect3">
625 <a name="hb-set-intersect.parameters"></a><h4>Parameters</h4>
626 <div class="informaltable"><table class="informaltable" width="100%" border="0">
627 <colgroup>
628 <col width="150px" class="parameters_name">
629 <col class="parameters_description">
630 <col width="200px" class="parameters_annotations">
631 </colgroup>
632 <tbody><tr>
633 <td class="parameter_name"><p>set</p></td>
634 <td class="parameter_description"><p>a set.</p></td>
635 <td class="parameter_annotations"> </td>
636 </tr></tbody>
637 </table></div>
638 </div>
639 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
640 </div>
641 <hr>
642 <div class="refsect2">
643 <a name="hb-set-is-empty"></a><h3>hb_set_is_empty ()</h3>
644 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
645 hb_set_is_empty (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
646 <div class="refsect3">
647 <a name="hb-set-is-empty.parameters"></a><h4>Parameters</h4>
648 <div class="informaltable"><table class="informaltable" width="100%" border="0">
649 <colgroup>
650 <col width="150px" class="parameters_name">
651 <col class="parameters_description">
652 <col width="200px" class="parameters_annotations">
653 </colgroup>
654 <tbody><tr>
655 <td class="parameter_name"><p>set</p></td>
656 <td class="parameter_description"><p>a set.</p></td>
657 <td class="parameter_annotations"> </td>
658 </tr></tbody>
659 </table></div>
660 </div>
661 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
662 </div>
663 <hr>
664 <div class="refsect2">
665 <a name="hb-set-is-equal"></a><h3>hb_set_is_equal ()</h3>
666 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
667 hb_set_is_equal (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
668                  <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
669 <div class="refsect3">
670 <a name="hb-set-is-equal.parameters"></a><h4>Parameters</h4>
671 <div class="informaltable"><table class="informaltable" width="100%" border="0">
672 <colgroup>
673 <col width="150px" class="parameters_name">
674 <col class="parameters_description">
675 <col width="200px" class="parameters_annotations">
676 </colgroup>
677 <tbody>
678 <tr>
679 <td class="parameter_name"><p>set</p></td>
680 <td class="parameter_description"><p>a set.</p></td>
681 <td class="parameter_annotations"> </td>
682 </tr>
683 <tr>
684 <td class="parameter_name"><p>other</p></td>
685 <td class="parameter_description"><p>other set.</p></td>
686 <td class="parameter_annotations"> </td>
687 </tr>
688 </tbody>
689 </table></div>
690 </div>
691 <div class="refsect3">
692 <a name="hb-set-is-equal.returns"></a><h4>Returns</h4>
693 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two sets are equal, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
694 </div>
695 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
696 </div>
697 <hr>
698 <div class="refsect2">
699 <a name="hb-set-is-subset"></a><h3>hb_set_is_subset ()</h3>
700 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
701 hb_set_is_subset (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
702                   <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *larger_set</code></em>);</pre>
703 <div class="refsect3">
704 <a name="hb-set-is-subset.parameters"></a><h4>Parameters</h4>
705 <div class="informaltable"><table class="informaltable" width="100%" border="0">
706 <colgroup>
707 <col width="150px" class="parameters_name">
708 <col class="parameters_description">
709 <col width="200px" class="parameters_annotations">
710 </colgroup>
711 <tbody>
712 <tr>
713 <td class="parameter_name"><p>set</p></td>
714 <td class="parameter_description"><p>a set.</p></td>
715 <td class="parameter_annotations"> </td>
716 </tr>
717 <tr>
718 <td class="parameter_name"><p>larger_set</p></td>
719 <td class="parameter_description"><p>other set.</p></td>
720 <td class="parameter_annotations"> </td>
721 </tr>
722 </tbody>
723 </table></div>
724 </div>
725 <div class="refsect3">
726 <a name="hb-set-is-subset.returns"></a><h4>Returns</h4>
727 <p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <em class="parameter"><code>set</code></em>
728 is a subset of (or equal to) <em class="parameter"><code>larger_set</code></em>
729 , <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
730 </div>
731 <p class="since">Since: <a class="link" href="api-index-1-8-1.html#api-index-1.8.1">1.8.1</a></p>
732 </div>
733 <hr>
734 <div class="refsect2">
735 <a name="hb-set-next"></a><h3>hb_set_next ()</h3>
736 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
737 hb_set_next (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
738              <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *codepoint</code></em>);</pre>
739 <p>Gets the next number in <em class="parameter"><code>set</code></em>
740  that is greater than current value of <em class="parameter"><code>codepoint</code></em>
741 .</p>
742 <p>Set <em class="parameter"><code>codepoint</code></em>
743  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
744 <div class="refsect3">
745 <a name="hb-set-next.parameters"></a><h4>Parameters</h4>
746 <div class="informaltable"><table class="informaltable" width="100%" border="0">
747 <colgroup>
748 <col width="150px" class="parameters_name">
749 <col class="parameters_description">
750 <col width="200px" class="parameters_annotations">
751 </colgroup>
752 <tbody>
753 <tr>
754 <td class="parameter_name"><p>set</p></td>
755 <td class="parameter_description"><p>a set.</p></td>
756 <td class="parameter_annotations"> </td>
757 </tr>
758 <tr>
759 <td class="parameter_name"><p>codepoint</p></td>
760 <td class="parameter_description"><p>. </p></td>
761 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
762 </tr>
763 </tbody>
764 </table></div>
765 </div>
766 <div class="refsect3">
767 <a name="hb-set-next.returns"></a><h4>Returns</h4>
768 <p> whether there was a next value.</p>
769 </div>
770 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
771 </div>
772 <hr>
773 <div class="refsect2">
774 <a name="hb-set-next-range"></a><h3>hb_set_next_range ()</h3>
775 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
776 hb_set_next_range (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
777                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *first</code></em>,
778                    <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *last</code></em>);</pre>
779 <p>Gets the next consecutive range of numbers in <em class="parameter"><code>set</code></em>
780  that
781 are greater than current value of <em class="parameter"><code>last</code></em>
782 .</p>
783 <p>Set <em class="parameter"><code>last</code></em>
784  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
785 <div class="refsect3">
786 <a name="hb-set-next-range.parameters"></a><h4>Parameters</h4>
787 <div class="informaltable"><table class="informaltable" width="100%" border="0">
788 <colgroup>
789 <col width="150px" class="parameters_name">
790 <col class="parameters_description">
791 <col width="200px" class="parameters_annotations">
792 </colgroup>
793 <tbody>
794 <tr>
795 <td class="parameter_name"><p>set</p></td>
796 <td class="parameter_description"><p>a set.</p></td>
797 <td class="parameter_annotations"> </td>
798 </tr>
799 <tr>
800 <td class="parameter_name"><p>first</p></td>
801 <td class="parameter_description"><p>output first codepoint in the range. </p></td>
802 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
803 </tr>
804 <tr>
805 <td class="parameter_name"><p>last</p></td>
806 <td class="parameter_description"><p>input current last and output last codepoint in the range. </p></td>
807 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
808 </tr>
809 </tbody>
810 </table></div>
811 </div>
812 <div class="refsect3">
813 <a name="hb-set-next-range.returns"></a><h4>Returns</h4>
814 <p> whether there was a next range.</p>
815 </div>
816 <p class="since">Since: <a class="link" href="api-index-0-9-7.html#api-index-0.9.7">0.9.7</a></p>
817 </div>
818 <hr>
819 <div class="refsect2">
820 <a name="hb-set-previous"></a><h3>hb_set_previous ()</h3>
821 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
822 hb_set_previous (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
823                  <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *codepoint</code></em>);</pre>
824 <p>Gets the previous number in <em class="parameter"><code>set</code></em>
825  that is lower than current value of <em class="parameter"><code>codepoint</code></em>
826 .</p>
827 <p>Set <em class="parameter"><code>codepoint</code></em>
828  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
829 <div class="refsect3">
830 <a name="hb-set-previous.parameters"></a><h4>Parameters</h4>
831 <div class="informaltable"><table class="informaltable" width="100%" border="0">
832 <colgroup>
833 <col width="150px" class="parameters_name">
834 <col class="parameters_description">
835 <col width="200px" class="parameters_annotations">
836 </colgroup>
837 <tbody>
838 <tr>
839 <td class="parameter_name"><p>set</p></td>
840 <td class="parameter_description"><p>a set.</p></td>
841 <td class="parameter_annotations"> </td>
842 </tr>
843 <tr>
844 <td class="parameter_name"><p>codepoint</p></td>
845 <td class="parameter_description"><p>. </p></td>
846 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
847 </tr>
848 </tbody>
849 </table></div>
850 </div>
851 <div class="refsect3">
852 <a name="hb-set-previous.returns"></a><h4>Returns</h4>
853 <p> whether there was a previous value.</p>
854 </div>
855 <p class="since">Since: <a class="link" href="api-index-1-8-0.html#api-index-1.8.0">1.8.0</a></p>
856 </div>
857 <hr>
858 <div class="refsect2">
859 <a name="hb-set-previous-range"></a><h3>hb_set_previous_range ()</h3>
860 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
861 hb_set_previous_range (<em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
862                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *first</code></em>,
863                        <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-codepoint-t" title="hb_codepoint_t"><span class="type">hb_codepoint_t</span></a> *last</code></em>);</pre>
864 <p>Gets the previous consecutive range of numbers in <em class="parameter"><code>set</code></em>
865  that
866 are less than current value of <em class="parameter"><code>first</code></em>
867 .</p>
868 <p>Set <em class="parameter"><code>first</code></em>
869  to <a class="link" href="harfbuzz-hb-set.html#HB-SET-VALUE-INVALID:CAPS" title="HB_SET_VALUE_INVALID"><code class="literal">HB_SET_VALUE_INVALID</code></a> to get started.</p>
870 <div class="refsect3">
871 <a name="hb-set-previous-range.parameters"></a><h4>Parameters</h4>
872 <div class="informaltable"><table class="informaltable" width="100%" border="0">
873 <colgroup>
874 <col width="150px" class="parameters_name">
875 <col class="parameters_description">
876 <col width="200px" class="parameters_annotations">
877 </colgroup>
878 <tbody>
879 <tr>
880 <td class="parameter_name"><p>set</p></td>
881 <td class="parameter_description"><p>a set.</p></td>
882 <td class="parameter_annotations"> </td>
883 </tr>
884 <tr>
885 <td class="parameter_name"><p>first</p></td>
886 <td class="parameter_description"><p>input current first and output first codepoint in the range. </p></td>
887 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
888 </tr>
889 <tr>
890 <td class="parameter_name"><p>last</p></td>
891 <td class="parameter_description"><p>output last codepoint in the range. </p></td>
892 <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
893 </tr>
894 </tbody>
895 </table></div>
896 </div>
897 <div class="refsect3">
898 <a name="hb-set-previous-range.returns"></a><h4>Returns</h4>
899 <p> whether there was a previous range.</p>
900 </div>
901 <p class="since">Since: <a class="link" href="api-index-1-8-0.html#api-index-1.8.0">1.8.0</a></p>
902 </div>
903 <hr>
904 <div class="refsect2">
905 <a name="hb-set-reference"></a><h3>hb_set_reference ()</h3>
906 <pre class="programlisting"><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="returnvalue">hb_set_t</span></a> *
907 hb_set_reference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>);</pre>
908 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
909 <div class="refsect3">
910 <a name="hb-set-reference.parameters"></a><h4>Parameters</h4>
911 <div class="informaltable"><table class="informaltable" width="100%" border="0">
912 <colgroup>
913 <col width="150px" class="parameters_name">
914 <col class="parameters_description">
915 <col width="200px" class="parameters_annotations">
916 </colgroup>
917 <tbody><tr>
918 <td class="parameter_name"><p>set</p></td>
919 <td class="parameter_description"><p>a set.</p></td>
920 <td class="parameter_annotations"> </td>
921 </tr></tbody>
922 </table></div>
923 </div>
924 <div class="refsect3">
925 <a name="hb-set-reference.returns"></a><h4>Returns</h4>
926 <p>. </p>
927 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
928 </div>
929 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
930 </div>
931 <hr>
932 <div class="refsect2">
933 <a name="hb-set-set"></a><h3>hb_set_set ()</h3>
934 <pre class="programlisting"><span class="returnvalue">void</span>
935 hb_set_set (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
936             <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
937 <div class="refsect3">
938 <a name="hb-set-set.parameters"></a><h4>Parameters</h4>
939 <div class="informaltable"><table class="informaltable" width="100%" border="0">
940 <colgroup>
941 <col width="150px" class="parameters_name">
942 <col class="parameters_description">
943 <col width="200px" class="parameters_annotations">
944 </colgroup>
945 <tbody><tr>
946 <td class="parameter_name"><p>set</p></td>
947 <td class="parameter_description"><p>a set.</p></td>
948 <td class="parameter_annotations"> </td>
949 </tr></tbody>
950 </table></div>
951 </div>
952 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
953 </div>
954 <hr>
955 <div class="refsect2">
956 <a name="hb-set-set-user-data"></a><h3>hb_set_set_user_data ()</h3>
957 <pre class="programlisting"><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="returnvalue">hb_bool_t</span></a>
958 hb_set_set_user_data (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
959                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-user-data-key-t" title="hb_user_data_key_t"><span class="type">hb_user_data_key_t</span></a> *key</code></em>,
960                       <em class="parameter"><code><span class="type">void</span> *data</code></em>,
961                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-destroy-func-t" title="hb_destroy_func_t ()"><span class="type">hb_destroy_func_t</span></a> destroy</code></em>,
962                       <em class="parameter"><code><a class="link" href="harfbuzz-hb-common.html#hb-bool-t" title="hb_bool_t"><span class="type">hb_bool_t</span></a> replace</code></em>);</pre>
963 <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
964 <div class="refsect3">
965 <a name="hb-set-set-user-data.parameters"></a><h4>Parameters</h4>
966 <div class="informaltable"><table class="informaltable" width="100%" border="0">
967 <colgroup>
968 <col width="150px" class="parameters_name">
969 <col class="parameters_description">
970 <col width="200px" class="parameters_annotations">
971 </colgroup>
972 <tbody><tr>
973 <td class="parameter_name"><p>set</p></td>
974 <td class="parameter_description"><p>a set.</p></td>
975 <td class="parameter_annotations"> </td>
976 </tr></tbody>
977 </table></div>
978 </div>
979 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
980 </div>
981 <hr>
982 <div class="refsect2">
983 <a name="hb-set-subtract"></a><h3>hb_set_subtract ()</h3>
984 <pre class="programlisting"><span class="returnvalue">void</span>
985 hb_set_subtract (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
986                  <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
987 <div class="refsect3">
988 <a name="hb-set-subtract.parameters"></a><h4>Parameters</h4>
989 <div class="informaltable"><table class="informaltable" width="100%" border="0">
990 <colgroup>
991 <col width="150px" class="parameters_name">
992 <col class="parameters_description">
993 <col width="200px" class="parameters_annotations">
994 </colgroup>
995 <tbody><tr>
996 <td class="parameter_name"><p>set</p></td>
997 <td class="parameter_description"><p>a set.</p></td>
998 <td class="parameter_annotations"> </td>
999 </tr></tbody>
1000 </table></div>
1001 </div>
1002 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1003 </div>
1004 <hr>
1005 <div class="refsect2">
1006 <a name="hb-set-symmetric-difference"></a><h3>hb_set_symmetric_difference ()</h3>
1007 <pre class="programlisting"><span class="returnvalue">void</span>
1008 hb_set_symmetric_difference (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
1009                              <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
1010 <div class="refsect3">
1011 <a name="hb-set-symmetric-difference.parameters"></a><h4>Parameters</h4>
1012 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1013 <colgroup>
1014 <col width="150px" class="parameters_name">
1015 <col class="parameters_description">
1016 <col width="200px" class="parameters_annotations">
1017 </colgroup>
1018 <tbody><tr>
1019 <td class="parameter_name"><p>set</p></td>
1020 <td class="parameter_description"><p>a set.</p></td>
1021 <td class="parameter_annotations"> </td>
1022 </tr></tbody>
1023 </table></div>
1024 </div>
1025 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1026 </div>
1027 <hr>
1028 <div class="refsect2">
1029 <a name="hb-set-union"></a><h3>hb_set_union ()</h3>
1030 <pre class="programlisting"><span class="returnvalue">void</span>
1031 hb_set_union (<em class="parameter"><code><a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *set</code></em>,
1032               <em class="parameter"><code>const <a class="link" href="harfbuzz-hb-set.html#hb-set-t" title="hb_set_t"><span class="type">hb_set_t</span></a> *other</code></em>);</pre>
1033 <div class="refsect3">
1034 <a name="hb-set-union.parameters"></a><h4>Parameters</h4>
1035 <div class="informaltable"><table class="informaltable" width="100%" border="0">
1036 <colgroup>
1037 <col width="150px" class="parameters_name">
1038 <col class="parameters_description">
1039 <col width="200px" class="parameters_annotations">
1040 </colgroup>
1041 <tbody><tr>
1042 <td class="parameter_name"><p>set</p></td>
1043 <td class="parameter_description"><p>a set.</p></td>
1044 <td class="parameter_annotations"> </td>
1045 </tr></tbody>
1046 </table></div>
1047 </div>
1048 <p class="since">Since: <a class="link" href="api-index-0-9-2.html#api-index-0.9.2">0.9.2</a></p>
1049 </div>
1050 </div>
1051 <div class="refsect1">
1052 <a name="harfbuzz-hb-set.other_details"></a><h2>Types and Values</h2>
1053 <div class="refsect2">
1054 <a name="HB-SET-VALUE-INVALID:CAPS"></a><h3>HB_SET_VALUE_INVALID</h3>
1055 <pre class="programlisting">#define HB_SET_VALUE_INVALID ((hb_codepoint_t) -1)
1056 </pre>
1057 </div>
1058 <hr>
1059 <div class="refsect2">
1060 <a name="hb-set-t"></a><h3>hb_set_t</h3>
1061 <pre class="programlisting">typedef struct hb_set_t hb_set_t;
1062 </pre>
1063 </div>
1064 </div>
1065 </div>
1066 <div class="footer">
1067 <hr>Generated by GTK-Doc V1.32.1</div>
1068 </body>
1069 </html>