1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>lglBarcode: LibGlbarcode 3.0 Reference Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="LibGlbarcode 3.0 Reference Manual">
8 <link rel="up" href="api.html" title="API Reference">
9 <link rel="prev" href="api.html" title="API Reference">
10 <link rel="next" href="libglbarcode-3.0-lgl-barcode-create.html" title="Barcode Factory">
11 <meta name="generator" content="GTK-Doc V1.24 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
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="#libglbarcode-3.0-lgl-barcode.description" class="shortcut">Description</a></span>
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="api.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22 <td><a accesskey="p" href="api.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23 <td><a accesskey="n" href="libglbarcode-3.0-lgl-barcode-create.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25 <div class="refentry">
26 <a name="libglbarcode-3.0-lgl-barcode"></a><div class="titlepage"></div>
27 <div class="refnamediv"><table width="100%"><tr>
29 <h2><span class="refentrytitle"><a name="libglbarcode-3.0-lgl-barcode.top_of_page"></a>lglBarcode</span></h2>
30 <p>lglBarcode — Barcode structure</p>
32 <td class="gallery_image" valign="top" align="right"></td>
34 <div class="refsect1">
35 <a name="libglbarcode-3.0-lgl-barcode.functions"></a><h2>Functions</h2>
36 <div class="informaltable"><table width="100%" border="0">
38 <col width="150px" class="functions_return">
39 <col class="functions_name">
43 <td class="function_type">
44 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="returnvalue">lglBarcode</span></a> *
46 <td class="function_name">
47 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-new" title="lgl_barcode_new ()">lgl_barcode_new</a> <span class="c_punctuation">()</span>
51 <td class="function_type">
52 <span class="returnvalue">void</span>
54 <td class="function_name">
55 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-free" title="lgl_barcode_free ()">lgl_barcode_free</a> <span class="c_punctuation">()</span>
59 <td class="function_type">
60 <span class="returnvalue">void</span>
62 <td class="function_name">
63 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-add-line" title="lgl_barcode_add_line ()">lgl_barcode_add_line</a> <span class="c_punctuation">()</span>
67 <td class="function_type">
68 <span class="returnvalue">void</span>
70 <td class="function_name">
71 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-add-box" title="lgl_barcode_add_box ()">lgl_barcode_add_box</a> <span class="c_punctuation">()</span>
75 <td class="function_type">
76 <span class="returnvalue">void</span>
78 <td class="function_name">
79 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-add-char" title="lgl_barcode_add_char ()">lgl_barcode_add_char</a> <span class="c_punctuation">()</span>
83 <td class="function_type">
84 <span class="returnvalue">void</span>
86 <td class="function_name">
87 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-add-string" title="lgl_barcode_add_string ()">lgl_barcode_add_string</a> <span class="c_punctuation">()</span>
91 <td class="function_type">
92 <span class="returnvalue">void</span>
94 <td class="function_name">
95 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-add-ring" title="lgl_barcode_add_ring ()">lgl_barcode_add_ring</a> <span class="c_punctuation">()</span>
99 <td class="function_type">
100 <span class="returnvalue">void</span>
102 <td class="function_name">
103 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-add-hexagon" title="lgl_barcode_add_hexagon ()">lgl_barcode_add_hexagon</a> <span class="c_punctuation">()</span>
109 <div class="refsect1">
110 <a name="libglbarcode-3.0-lgl-barcode.other"></a><h2>Types and Values</h2>
111 <div class="informaltable"><table width="100%" border="0">
113 <col width="150px" class="name">
114 <col class="description">
118 <td class="datatype_keyword"> </td>
119 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode">lglBarcode</a></td>
122 <td class="datatype_keyword">enum</td>
123 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType">lglBarcodeShapeType</a></td>
126 <td class="datatype_keyword"> </td>
127 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShape" title="lglBarcodeShape">lglBarcodeShape</a></td>
130 <td class="datatype_keyword"> </td>
131 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeAny" title="lglBarcodeShapeAny">lglBarcodeShapeAny</a></td>
134 <td class="datatype_keyword"> </td>
135 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeLine" title="lglBarcodeShapeLine">lglBarcodeShapeLine</a></td>
138 <td class="datatype_keyword"> </td>
139 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeBox" title="lglBarcodeShapeBox">lglBarcodeShapeBox</a></td>
142 <td class="datatype_keyword"> </td>
143 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeChar" title="lglBarcodeShapeChar">lglBarcodeShapeChar</a></td>
146 <td class="datatype_keyword"> </td>
147 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeString" title="lglBarcodeShapeString">lglBarcodeShapeString</a></td>
150 <td class="datatype_keyword"> </td>
151 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeRing" title="lglBarcodeShapeRing">lglBarcodeShapeRing</a></td>
154 <td class="datatype_keyword"> </td>
155 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeHexagon" title="lglBarcodeShapeHexagon">lglBarcodeShapeHexagon</a></td>
160 <div class="refsect1">
161 <a name="libglbarcode-3.0-lgl-barcode.includes"></a><h2>Includes</h2>
162 <pre class="synopsis">#include <libglbarcode/lgl-barcode.h>
165 <div class="refsect1">
166 <a name="libglbarcode-3.0-lgl-barcode.description"></a><h2>Description</h2>
168 This section describes the <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure and the <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShape" title="lglBarcodeShape"><span class="type">lglBarcodeShape</span></a> family of simple drawing primitives.
169 These structures form the basic intermediate barcode representation used by libglbarcode.
170 The section also defines a set of functions for constructing an <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure and populating it with drawing primitives.
173 <div class="refsect1">
174 <a name="libglbarcode-3.0-lgl-barcode.functions_details"></a><h2>Functions</h2>
175 <div class="refsect2">
176 <a name="lgl-barcode-new"></a><h3>lgl_barcode_new ()</h3>
177 <pre class="programlisting"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="returnvalue">lglBarcode</span></a> *
178 lgl_barcode_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
179 <p>Allocate a new <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure.</p>
180 <p>This function allocates a new <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure.</p>
181 <div class="note"><p>
182 This function is intended to be used internally by barcode implementations.
183 Typically an end-user would use <a class="link" href="libglbarcode-3.0-lgl-barcode-create.html#lgl-barcode-create" title="lgl_barcode_create ()"><code class="function">lgl_barcode_create()</code></a> instead.
185 <div class="refsect3">
186 <a name="id-1.3.2.7.2.7"></a><h4>Returns</h4>
187 <p> A newly allocated <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure. Use <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lgl-barcode-free" title="lgl_barcode_free ()"><code class="function">lgl_barcode_free()</code></a> to
192 <div class="refsect2">
193 <a name="lgl-barcode-free"></a><h3>lgl_barcode_free ()</h3>
194 <pre class="programlisting"><span class="returnvalue">void</span>
195 lgl_barcode_free (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>);</pre>
196 <p>Free a previously allocated <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure.</p>
197 <div class="refsect3">
198 <a name="id-1.3.2.7.3.5"></a><h4>Parameters</h4>
199 <div class="informaltable"><table width="100%" border="0">
201 <col width="150px" class="parameters_name">
202 <col class="parameters_description">
203 <col width="200px" class="parameters_annotations">
206 <td class="parameter_name"><p>bc</p></td>
207 <td class="parameter_description"><p>The <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure to free</p></td>
208 <td class="parameter_annotations"> </td>
214 <div class="refsect2">
215 <a name="lgl-barcode-add-line"></a><h3>lgl_barcode_add_line ()</h3>
216 <pre class="programlisting"><span class="returnvalue">void</span>
217 lgl_barcode_add_line (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>,
218 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
219 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
220 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> length</code></em>,
221 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>);</pre>
222 <p>Add a vertical line to barcode. Coordinates are relative to top left corner
223 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
224 <div class="note"><p>
225 This function is intended to be used internally by barcode implementations.
227 <div class="refsect3">
228 <a name="id-1.3.2.7.4.6"></a><h4>Parameters</h4>
229 <div class="informaltable"><table width="100%" border="0">
231 <col width="150px" class="parameters_name">
232 <col class="parameters_description">
233 <col width="200px" class="parameters_annotations">
237 <td class="parameter_name"><p>bc</p></td>
238 <td class="parameter_description"><p>An <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure</p></td>
239 <td class="parameter_annotations"> </td>
242 <td class="parameter_name"><p>x</p></td>
243 <td class="parameter_description"><p>x coordinate of top of line</p></td>
244 <td class="parameter_annotations"> </td>
247 <td class="parameter_name"><p>y</p></td>
248 <td class="parameter_description"><p>y coordinate of top of line</p></td>
249 <td class="parameter_annotations"> </td>
252 <td class="parameter_name"><p>length</p></td>
253 <td class="parameter_description"><p>Length of line</p></td>
254 <td class="parameter_annotations"> </td>
257 <td class="parameter_name"><p>width</p></td>
258 <td class="parameter_description"><p>Width of line</p></td>
259 <td class="parameter_annotations"> </td>
266 <div class="refsect2">
267 <a name="lgl-barcode-add-box"></a><h3>lgl_barcode_add_box ()</h3>
268 <pre class="programlisting"><span class="returnvalue">void</span>
269 lgl_barcode_add_box (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>,
270 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
271 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
272 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
273 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
274 <p>Add a box to barcode. Coordinates are relative to top left corner
275 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
276 <div class="note"><p>
277 This function is intended to be used internally by barcode implementations.
279 <div class="refsect3">
280 <a name="id-1.3.2.7.5.6"></a><h4>Parameters</h4>
281 <div class="informaltable"><table width="100%" border="0">
283 <col width="150px" class="parameters_name">
284 <col class="parameters_description">
285 <col width="200px" class="parameters_annotations">
289 <td class="parameter_name"><p>bc</p></td>
290 <td class="parameter_description"><p>An <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure</p></td>
291 <td class="parameter_annotations"> </td>
294 <td class="parameter_name"><p>x</p></td>
295 <td class="parameter_description"><p>x coordinate of top left corner of box</p></td>
296 <td class="parameter_annotations"> </td>
299 <td class="parameter_name"><p>y</p></td>
300 <td class="parameter_description"><p>y coordinate of top left corner of box</p></td>
301 <td class="parameter_annotations"> </td>
304 <td class="parameter_name"><p>width</p></td>
305 <td class="parameter_description"><p>Width of box</p></td>
306 <td class="parameter_annotations"> </td>
309 <td class="parameter_name"><p>height</p></td>
310 <td class="parameter_description"><p>Height of box</p></td>
311 <td class="parameter_annotations"> </td>
318 <div class="refsect2">
319 <a name="lgl-barcode-add-char"></a><h3>lgl_barcode_add_char ()</h3>
320 <pre class="programlisting"><span class="returnvalue">void</span>
321 lgl_barcode_add_char (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>,
322 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
323 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
324 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fsize</code></em>,
325 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
326 <p>Add an ASCII character to barcode. Coordinates are relative to top left corner
327 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
328 <div class="note"><p>
329 This function is intended to be used internally by barcode implementations.
331 <div class="refsect3">
332 <a name="id-1.3.2.7.6.6"></a><h4>Parameters</h4>
333 <div class="informaltable"><table width="100%" border="0">
335 <col width="150px" class="parameters_name">
336 <col class="parameters_description">
337 <col width="200px" class="parameters_annotations">
341 <td class="parameter_name"><p>bc</p></td>
342 <td class="parameter_description"><p>An <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure</p></td>
343 <td class="parameter_annotations"> </td>
346 <td class="parameter_name"><p>x</p></td>
347 <td class="parameter_description"><p>x coordinate of left baseline of character</p></td>
348 <td class="parameter_annotations"> </td>
351 <td class="parameter_name"><p>y</p></td>
352 <td class="parameter_description"><p>y coordinate of left baseline of character</p></td>
353 <td class="parameter_annotations"> </td>
356 <td class="parameter_name"><p>fsize</p></td>
357 <td class="parameter_description"><p>Font size</p></td>
358 <td class="parameter_annotations"> </td>
361 <td class="parameter_name"><p>c</p></td>
362 <td class="parameter_description"><p>Character to add</p></td>
363 <td class="parameter_annotations"> </td>
370 <div class="refsect2">
371 <a name="lgl-barcode-add-string"></a><h3>lgl_barcode_add_string ()</h3>
372 <pre class="programlisting"><span class="returnvalue">void</span>
373 lgl_barcode_add_string (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>,
374 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
375 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
376 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fsize</code></em>,
377 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
378 <em class="parameter"><code><span class="type">gsize</span> length</code></em>);</pre>
379 <p>Add a character string to barcode. Coordinates are relative to top left corner
380 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
381 <div class="note"><p>
382 This function is intended to be used internally by barcode implementations.
384 <div class="refsect3">
385 <a name="id-1.3.2.7.7.6"></a><h4>Parameters</h4>
386 <div class="informaltable"><table width="100%" border="0">
388 <col width="150px" class="parameters_name">
389 <col class="parameters_description">
390 <col width="200px" class="parameters_annotations">
394 <td class="parameter_name"><p>bc</p></td>
395 <td class="parameter_description"><p>An <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure</p></td>
396 <td class="parameter_annotations"> </td>
399 <td class="parameter_name"><p>x</p></td>
400 <td class="parameter_description"><p>x coordinate of horizontal center of baseline of string</p></td>
401 <td class="parameter_annotations"> </td>
404 <td class="parameter_name"><p>y</p></td>
405 <td class="parameter_description"><p>y coordinate of horizontal center of baseline of string</p></td>
406 <td class="parameter_annotations"> </td>
409 <td class="parameter_name"><p>fsize</p></td>
410 <td class="parameter_description"><p>Font size</p></td>
411 <td class="parameter_annotations"> </td>
414 <td class="parameter_name"><p>string</p></td>
415 <td class="parameter_description"><p>String to add</p></td>
416 <td class="parameter_annotations"> </td>
419 <td class="parameter_name"><p>length</p></td>
420 <td class="parameter_description"><p>Number of bytes in string</p></td>
421 <td class="parameter_annotations"> </td>
428 <div class="refsect2">
429 <a name="lgl-barcode-add-ring"></a><h3>lgl_barcode_add_ring ()</h3>
430 <pre class="programlisting"><span class="returnvalue">void</span>
431 lgl_barcode_add_ring (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>,
432 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
433 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
434 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> radius</code></em>,
435 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> line_width</code></em>);</pre>
436 <p>Add a ring to barcode. Coordinates are relative to top left corner
437 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
438 <div class="note"><p>
439 This function is intended to be used internally by barcode implementations.
441 <div class="refsect3">
442 <a name="id-1.3.2.7.8.6"></a><h4>Parameters</h4>
443 <div class="informaltable"><table width="100%" border="0">
445 <col width="150px" class="parameters_name">
446 <col class="parameters_description">
447 <col width="200px" class="parameters_annotations">
451 <td class="parameter_name"><p>bc</p></td>
452 <td class="parameter_description"><p>An <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure</p></td>
453 <td class="parameter_annotations"> </td>
456 <td class="parameter_name"><p>x</p></td>
457 <td class="parameter_description"><p>x coordinate of center of circle</p></td>
458 <td class="parameter_annotations"> </td>
461 <td class="parameter_name"><p>y</p></td>
462 <td class="parameter_description"><p>y coordinate of center of circle</p></td>
463 <td class="parameter_annotations"> </td>
466 <td class="parameter_name"><p>radius</p></td>
467 <td class="parameter_description"><p>Radius of ring (center of line)</p></td>
468 <td class="parameter_annotations"> </td>
471 <td class="parameter_name"><p>line_width</p></td>
472 <td class="parameter_description"><p>Width of line</p></td>
473 <td class="parameter_annotations"> </td>
480 <div class="refsect2">
481 <a name="lgl-barcode-add-hexagon"></a><h3>lgl_barcode_add_hexagon ()</h3>
482 <pre class="programlisting"><span class="returnvalue">void</span>
483 lgl_barcode_add_hexagon (<em class="parameter"><code><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> *bc</code></em>,
484 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
485 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
486 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
487 <p>Add a regular hexagon (oriented with vertexes at top and bottom) to barcode.
488 Coordinates are relative to top left corner of barcode. All units are in
489 points ( 1 point = 1/72 inch ).</p>
490 <div class="note"><p>
491 This function is intended to be used internally by barcode implementations.
493 <div class="refsect3">
494 <a name="id-1.3.2.7.9.6"></a><h4>Parameters</h4>
495 <div class="informaltable"><table width="100%" border="0">
497 <col width="150px" class="parameters_name">
498 <col class="parameters_description">
499 <col width="200px" class="parameters_annotations">
503 <td class="parameter_name"><p>bc</p></td>
504 <td class="parameter_description"><p>An <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="type">lglBarcode</span></a> structure</p></td>
505 <td class="parameter_annotations"> </td>
508 <td class="parameter_name"><p>x</p></td>
509 <td class="parameter_description"><p>x coordinate of top point of hexagon</p></td>
510 <td class="parameter_annotations"> </td>
513 <td class="parameter_name"><p>y</p></td>
514 <td class="parameter_description"><p>y coordinate of top point of hexagon</p></td>
515 <td class="parameter_annotations"> </td>
518 <td class="parameter_name"><p>height</p></td>
519 <td class="parameter_description"><p>Height of hexagon</p></td>
520 <td class="parameter_annotations"> </td>
527 <div class="refsect1">
528 <a name="libglbarcode-3.0-lgl-barcode.other_details"></a><h2>Types and Values</h2>
529 <div class="refsect2">
530 <a name="lglBarcode"></a><h3>lglBarcode</h3>
531 <pre class="programlisting">typedef struct {
535 GList *shapes; /* List of lglBarcodeShape drawing primitives */
538 <p>This structure contains the libglbarcode intermediate barcode format. This
539 structure contains a simple vectorized representation of the barcode. This
540 vectorized representation is easy to interpret by a rendering backend for
541 either vector or raster formats. A simple API is provided for constructing
542 barcodes in this format.</p>
543 <div class="refsect3">
544 <a name="id-1.3.2.8.2.5"></a><h4>Members</h4>
545 <div class="informaltable"><table width="100%" border="0">
547 <col width="300px" class="struct_members_name">
548 <col class="struct_members_description">
549 <col width="200px" class="struct_members_annotations">
553 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcode.width"></a>width</code></em>;</p></td>
554 <td class="struct_member_description"><p>Width of barcode bounding box (points)</p></td>
555 <td class="struct_member_annotations"> </td>
558 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcode.height"></a>height</code></em>;</p></td>
559 <td class="struct_member_description"><p>Height of barcode bounding box (points)</p></td>
560 <td class="struct_member_annotations"> </td>
563 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *<em class="structfield"><code><a name="lglBarcode.shapes"></a>shapes</code></em>;</p></td>
564 <td class="struct_member_description"><p>List of <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShape" title="lglBarcodeShape"><span class="type">lglBarcodeShape</span></a> drawing primitives</p></td>
565 <td class="struct_member_annotations"> </td>
572 <div class="refsect2">
573 <a name="lglBarcodeShapeType"></a><h3>enum lglBarcodeShapeType</h3>
576 <div class="refsect3">
577 <a name="id-1.3.2.8.3.4"></a><h4>Members</h4>
578 <div class="informaltable"><table width="100%" border="0">
580 <col width="300px" class="enum_members_name">
581 <col class="enum_members_description">
582 <col width="200px" class="enum_members_annotations">
586 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-LINE:CAPS"></a>LGL_BARCODE_SHAPE_LINE</p></td>
587 <td class="enum_member_description"> </td>
588 <td class="enum_member_annotations"> </td>
591 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-BOX:CAPS"></a>LGL_BARCODE_SHAPE_BOX</p></td>
592 <td class="enum_member_description"> </td>
593 <td class="enum_member_annotations"> </td>
596 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-CHAR:CAPS"></a>LGL_BARCODE_SHAPE_CHAR</p></td>
597 <td class="enum_member_description"> </td>
598 <td class="enum_member_annotations"> </td>
601 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-STRING:CAPS"></a>LGL_BARCODE_SHAPE_STRING</p></td>
602 <td class="enum_member_description"> </td>
603 <td class="enum_member_annotations"> </td>
606 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-RING:CAPS"></a>LGL_BARCODE_SHAPE_RING</p></td>
607 <td class="enum_member_description"> </td>
608 <td class="enum_member_annotations"> </td>
611 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-HEXAGON:CAPS"></a>LGL_BARCODE_SHAPE_HEXAGON</p></td>
612 <td class="enum_member_description"> </td>
613 <td class="enum_member_annotations"> </td>
620 <div class="refsect2">
621 <a name="lglBarcodeShape"></a><h3>lglBarcodeShape</h3>
626 <div class="refsect2">
627 <a name="lglBarcodeShapeAny"></a><h3>lglBarcodeShapeAny</h3>
628 <pre class="programlisting">typedef struct {
629 /* Begin Common Fields */
630 lglBarcodeShapeType type;
633 /* End Common Fields */
634 } lglBarcodeShapeAny;
640 <div class="refsect2">
641 <a name="lglBarcodeShapeLine"></a><h3>lglBarcodeShapeLine</h3>
642 <pre class="programlisting">typedef struct {
643 /* Begin Common Fields */
644 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_LINE. */
647 /* End Common Fields */
651 } lglBarcodeShapeLine;
653 <p>A vertical line drawing primitive.</p>
654 <pre class="programlisting">
656 @ = origin (x,y) from top left corner of barcode
670 <p>All units are in points ( 1 point = 1/72 inch ).</p>
671 <div class="refsect3">
672 <a name="id-1.3.2.8.6.7"></a><h4>Members</h4>
673 <div class="informaltable"><table width="100%" border="0">
675 <col width="300px" class="struct_members_name">
676 <col class="struct_members_description">
677 <col width="200px" class="struct_members_annotations">
681 <td class="struct_member_name"><p><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType"><span class="type">lglBarcodeShapeType</span></a> <em class="structfield"><code><a name="lglBarcodeShapeLine.type"></a>type</code></em>;</p></td>
682 <td class="struct_member_description"><p>Always <a class="link" href="libglbarcode-3.0-lgl-barcode.html#LGL-BARCODE-SHAPE-LINE:CAPS"><code class="literal">LGL_BARCODE_SHAPE_LINE</code></a></p></td>
683 <td class="struct_member_annotations"> </td>
686 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeLine.x"></a>x</code></em>;</p></td>
687 <td class="struct_member_description"><p>x coordinate of top of line</p></td>
688 <td class="struct_member_annotations"> </td>
691 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeLine.y"></a>y</code></em>;</p></td>
692 <td class="struct_member_description"><p>y coordinate of top of line</p></td>
693 <td class="struct_member_annotations"> </td>
696 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeLine.length"></a>length</code></em>;</p></td>
697 <td class="struct_member_description"><p>Length of line</p></td>
698 <td class="struct_member_annotations"> </td>
701 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeLine.width"></a>width</code></em>;</p></td>
702 <td class="struct_member_description"><p>Width of line</p></td>
703 <td class="struct_member_annotations"> </td>
710 <div class="refsect2">
711 <a name="lglBarcodeShapeBox"></a><h3>lglBarcodeShapeBox</h3>
712 <pre class="programlisting">typedef struct {
713 /* Begin Common Fields */
714 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_BOX. */
717 /* End Common Fields */
721 } lglBarcodeShapeBox;
723 <p>A solid box drawing primitive.</p>
724 <pre class="programlisting">
726 @ = origin (x,y) from top left corner of barcode
740 <p>All units are in points ( 1 point = 1/72 inch ).</p>
741 <div class="refsect3">
742 <a name="id-1.3.2.8.7.7"></a><h4>Members</h4>
743 <div class="informaltable"><table width="100%" border="0">
745 <col width="300px" class="struct_members_name">
746 <col class="struct_members_description">
747 <col width="200px" class="struct_members_annotations">
751 <td class="struct_member_name"><p><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType"><span class="type">lglBarcodeShapeType</span></a> <em class="structfield"><code><a name="lglBarcodeShapeBox.type"></a>type</code></em>;</p></td>
752 <td class="struct_member_description"><p>Always <a class="link" href="libglbarcode-3.0-lgl-barcode.html#LGL-BARCODE-SHAPE-BOX:CAPS"><code class="literal">LGL_BARCODE_SHAPE_BOX</code></a></p></td>
753 <td class="struct_member_annotations"> </td>
756 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeBox.x"></a>x</code></em>;</p></td>
757 <td class="struct_member_description"><p>x coordinate of top left corner of box</p></td>
758 <td class="struct_member_annotations"> </td>
761 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeBox.y"></a>y</code></em>;</p></td>
762 <td class="struct_member_description"><p>y coordinate of top left corner of box</p></td>
763 <td class="struct_member_annotations"> </td>
766 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeBox.width"></a>width</code></em>;</p></td>
767 <td class="struct_member_description"><p>Width of box</p></td>
768 <td class="struct_member_annotations"> </td>
771 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeBox.height"></a>height</code></em>;</p></td>
772 <td class="struct_member_description"><p>Height of box</p></td>
773 <td class="struct_member_annotations"> </td>
780 <div class="refsect2">
781 <a name="lglBarcodeShapeChar"></a><h3>lglBarcodeShapeChar</h3>
782 <pre class="programlisting">typedef struct {
783 /* Begin Common Fields */
784 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_CHAR. */
787 /* End Common Fields */
791 } lglBarcodeShapeChar;
793 <p>An single byte character drawing primitive.</p>
794 <pre class="programlisting">
796 @ = origin (x,y) from top left corner of barcode
806 @ ----------------------
809 <p>All units are in points ( 1 point = 1/72 inch ).</p>
810 <div class="refsect3">
811 <a name="id-1.3.2.8.8.7"></a><h4>Members</h4>
812 <div class="informaltable"><table width="100%" border="0">
814 <col width="300px" class="struct_members_name">
815 <col class="struct_members_description">
816 <col width="200px" class="struct_members_annotations">
820 <td class="struct_member_name"><p><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType"><span class="type">lglBarcodeShapeType</span></a> <em class="structfield"><code><a name="lglBarcodeShapeChar.type"></a>type</code></em>;</p></td>
821 <td class="struct_member_description"><p>Always <a class="link" href="libglbarcode-3.0-lgl-barcode.html#LGL-BARCODE-SHAPE-CHAR:CAPS"><code class="literal">LGL_BARCODE_SHAPE_CHAR</code></a></p></td>
822 <td class="struct_member_annotations"> </td>
825 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeChar.x"></a>x</code></em>;</p></td>
826 <td class="struct_member_description"><p>x coordinate of left baseline of character</p></td>
827 <td class="struct_member_annotations"> </td>
830 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeChar.y"></a>y</code></em>;</p></td>
831 <td class="struct_member_description"><p>y coordinate of left baseline of character</p></td>
832 <td class="struct_member_annotations"> </td>
835 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeChar.fsize"></a>fsize</code></em>;</p></td>
836 <td class="struct_member_description"><p>Font size</p></td>
837 <td class="struct_member_annotations"> </td>
840 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> <em class="structfield"><code><a name="lglBarcodeShapeChar.c"></a>c</code></em>;</p></td>
841 <td class="struct_member_description"><p>Character to add</p></td>
842 <td class="struct_member_annotations"> </td>
849 <div class="refsect2">
850 <a name="lglBarcodeShapeString"></a><h3>lglBarcodeShapeString</h3>
851 <pre class="programlisting">typedef struct {
852 /* Begin Common Fields */
853 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_STRING. */
856 /* End Common Fields */
860 } lglBarcodeShapeString;
862 <p>A character string drawing primitive.</p>
863 <pre class="programlisting">
865 @ = origin (x,y) from top left corner of barcode
867 ____ _ ------------------
870 / /__\ \ | |___ ____ |
871 / ______ \ | ._ \ / __| | ~fsize
872 / / \ \ | |_) | | (__ |
873 /__/ \__\ |_.___/ \____| |
876 x = horizontal center
879 <p>All units are in points ( 1 point = 1/72 inch ).</p>
880 <div class="refsect3">
881 <a name="id-1.3.2.8.9.7"></a><h4>Members</h4>
882 <div class="informaltable"><table width="100%" border="0">
884 <col width="300px" class="struct_members_name">
885 <col class="struct_members_description">
886 <col width="200px" class="struct_members_annotations">
890 <td class="struct_member_name"><p><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType"><span class="type">lglBarcodeShapeType</span></a> <em class="structfield"><code><a name="lglBarcodeShapeString.type"></a>type</code></em>;</p></td>
891 <td class="struct_member_description"><p>Always <a class="link" href="libglbarcode-3.0-lgl-barcode.html#LGL-BARCODE-SHAPE-STRING:CAPS"><code class="literal">LGL_BARCODE_SHAPE_STRING</code></a></p></td>
892 <td class="struct_member_annotations"> </td>
895 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeString.x"></a>x</code></em>;</p></td>
896 <td class="struct_member_description"><p>x coordinate of horizontal center of baseline of string</p></td>
897 <td class="struct_member_annotations"> </td>
900 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeString.y"></a>y</code></em>;</p></td>
901 <td class="struct_member_description"><p>y coordinate of horizontal center of baseline of string</p></td>
902 <td class="struct_member_annotations"> </td>
905 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeString.fsize"></a>fsize</code></em>;</p></td>
906 <td class="struct_member_description"><p>Font size</p></td>
907 <td class="struct_member_annotations"> </td>
910 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="lglBarcodeShapeString.string"></a>string</code></em>;</p></td>
911 <td class="struct_member_description"><p>String to add</p></td>
912 <td class="struct_member_annotations"> </td>
919 <div class="refsect2">
920 <a name="lglBarcodeShapeRing"></a><h3>lglBarcodeShapeRing</h3>
921 <pre class="programlisting">typedef struct {
922 /* Begin Common Fields */
923 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_RING. */
926 /* End Common Fields */
930 } lglBarcodeShapeRing;
932 <p>A ring (an open circle) drawing primitive.</p>
933 <pre class="programlisting">
935 @ = origin (x,y) is centre of circle
944 \ `.____.' / | radius
949 <p>All units are in points ( 1 point = 1/72 inch ).</p>
950 <div class="refsect3">
951 <a name="id-1.3.2.8.10.7"></a><h4>Members</h4>
952 <div class="informaltable"><table width="100%" border="0">
954 <col width="300px" class="struct_members_name">
955 <col class="struct_members_description">
956 <col width="200px" class="struct_members_annotations">
960 <td class="struct_member_name"><p><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType"><span class="type">lglBarcodeShapeType</span></a> <em class="structfield"><code><a name="lglBarcodeShapeRing.type"></a>type</code></em>;</p></td>
961 <td class="struct_member_description"><p>Always <a class="link" href="libglbarcode-3.0-lgl-barcode.html#LGL-BARCODE-SHAPE-RING:CAPS"><code class="literal">LGL_BARCODE_SHAPE_RING</code></a></p></td>
962 <td class="struct_member_annotations"> </td>
965 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeRing.x"></a>x</code></em>;</p></td>
966 <td class="struct_member_description"><p>x coordinate of center of circle</p></td>
967 <td class="struct_member_annotations"> </td>
970 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeRing.y"></a>y</code></em>;</p></td>
971 <td class="struct_member_description"><p>y coordinate of center of circle</p></td>
972 <td class="struct_member_annotations"> </td>
975 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeRing.radius"></a>radius</code></em>;</p></td>
976 <td class="struct_member_description"><p>Radius of ring (center of line)</p></td>
977 <td class="struct_member_annotations"> </td>
980 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeRing.line-width"></a>line_width</code></em>;</p></td>
981 <td class="struct_member_description"><p>Width of line</p></td>
982 <td class="struct_member_annotations"> </td>
989 <div class="refsect2">
990 <a name="lglBarcodeShapeHexagon"></a><h3>lglBarcodeShapeHexagon</h3>
991 <pre class="programlisting">typedef struct {
992 /* Begin Common Fields */
993 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_HEXAGON. */
996 /* End Common Fields */
999 } lglBarcodeShapeHexagon;
1001 <p>A solid regular hexagon (oriented with vertexes at top and bottom) drawing primitive.</p>
1002 <pre class="programlisting">
1004 @ = origin (x,y) is top of hexagon
1006 @ ------------------
1019 " ------------------
1022 <p>All units are in points ( 1 point = 1/72 inch ).</p>
1023 <div class="refsect3">
1024 <a name="id-1.3.2.8.11.7"></a><h4>Members</h4>
1025 <div class="informaltable"><table width="100%" border="0">
1027 <col width="300px" class="struct_members_name">
1028 <col class="struct_members_description">
1029 <col width="200px" class="struct_members_annotations">
1033 <td class="struct_member_name"><p><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType"><span class="type">lglBarcodeShapeType</span></a> <em class="structfield"><code><a name="lglBarcodeShapeHexagon.type"></a>type</code></em>;</p></td>
1034 <td class="struct_member_description"><p>Always <a class="link" href="libglbarcode-3.0-lgl-barcode.html#LGL-BARCODE-SHAPE-HEXAGON:CAPS"><code class="literal">LGL_BARCODE_SHAPE_HEXAGON</code></a></p></td>
1035 <td class="struct_member_annotations"> </td>
1038 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeHexagon.x"></a>x</code></em>;</p></td>
1039 <td class="struct_member_description"><p>x coordinate of top point of hexagon</p></td>
1040 <td class="struct_member_annotations"> </td>
1043 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeHexagon.y"></a>y</code></em>;</p></td>
1044 <td class="struct_member_description"><p>y coordinate of top point of hexagon</p></td>
1045 <td class="struct_member_annotations"> </td>
1048 <td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="lglBarcodeShapeHexagon.height"></a>height</code></em>;</p></td>
1049 <td class="struct_member_description"><p>Height of hexagon</p></td>
1050 <td class="struct_member_annotations"> </td>
1058 <div class="footer">
1059 <hr>Generated by GTK-Doc V1.24</div>