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