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>LibGlbarcode 3.0 Reference Manual: lglBarcode</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.20 (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="10"><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><span id="nav_hierarchy"> <span class="dim">|</span>
19 <a href="#libglbarcode-3.0-lgl-barcode.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
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="api.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23 <td><a accesskey="p" href="api.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24 <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>
26 <div class="refentry">
27 <a name="libglbarcode-3.0-lgl-barcode"></a><div class="titlepage"></div>
28 <div class="refnamediv"><table width="100%"><tr>
30 <h2><span class="refentrytitle"><a name="libglbarcode-3.0-lgl-barcode.top_of_page"></a>lglBarcode</span></h2>
31 <p>lglBarcode — Barcode structure</p>
33 <td class="gallery_image" valign="top" align="right"></td>
35 <div class="refsect1">
36 <a name="libglbarcode-3.0-lgl-barcode.functions"></a><h2>Functions</h2>
37 <div class="informaltable"><table width="100%" border="0">
39 <col width="150px" class="functions_return">
40 <col class="functions_name">
44 <td class="function_type">
45 <a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="returnvalue">lglBarcode</span></a> *
47 <td class="function_name">
48 <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>
52 <td class="function_type">
53 <span class="returnvalue">void</span>
55 <td class="function_name">
56 <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>
60 <td class="function_type">
61 <span class="returnvalue">void</span>
63 <td class="function_name">
64 <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>
68 <td class="function_type">
69 <span class="returnvalue">void</span>
71 <td class="function_name">
72 <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>
76 <td class="function_type">
77 <span class="returnvalue">void</span>
79 <td class="function_name">
80 <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>
84 <td class="function_type">
85 <span class="returnvalue">void</span>
87 <td class="function_name">
88 <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>
92 <td class="function_type">
93 <span class="returnvalue">void</span>
95 <td class="function_name">
96 <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>
100 <td class="function_type">
101 <span class="returnvalue">void</span>
103 <td class="function_name">
104 <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>
110 <div class="refsect1">
111 <a name="libglbarcode-3.0-lgl-barcode.other"></a><h2>Types and Values</h2>
112 <div class="informaltable"><table width="100%" border="0">
114 <col width="150px" class="name">
115 <col class="description">
119 <td class="datatype_keyword"> </td>
120 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode">lglBarcode</a></td>
123 <td class="datatype_keyword">enum</td>
124 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeType" title="enum lglBarcodeShapeType">lglBarcodeShapeType</a></td>
127 <td class="datatype_keyword"> </td>
128 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShape" title="lglBarcodeShape">lglBarcodeShape</a></td>
131 <td class="datatype_keyword"> </td>
132 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeAny" title="lglBarcodeShapeAny">lglBarcodeShapeAny</a></td>
135 <td class="datatype_keyword"> </td>
136 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeLine" title="lglBarcodeShapeLine">lglBarcodeShapeLine</a></td>
139 <td class="datatype_keyword"> </td>
140 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeBox" title="lglBarcodeShapeBox">lglBarcodeShapeBox</a></td>
143 <td class="datatype_keyword"> </td>
144 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeChar" title="lglBarcodeShapeChar">lglBarcodeShapeChar</a></td>
147 <td class="datatype_keyword"> </td>
148 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeString" title="lglBarcodeShapeString">lglBarcodeShapeString</a></td>
151 <td class="datatype_keyword"> </td>
152 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeRing" title="lglBarcodeShapeRing">lglBarcodeShapeRing</a></td>
155 <td class="datatype_keyword"> </td>
156 <td class="function_name"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcodeShapeHexagon" title="lglBarcodeShapeHexagon">lglBarcodeShapeHexagon</a></td>
161 <div class="refsect1">
162 <a name="libglbarcode-3.0-lgl-barcode.object-hierarchy"></a><h2>Object Hierarchy</h2>
166 <div class="refsect1">
167 <a name="libglbarcode-3.0-lgl-barcode.includes"></a><h2>Includes</h2>
168 <pre class="synopsis">#include <libglbarcode/lgl-barcode.h>
171 <div class="refsect1">
172 <a name="libglbarcode-3.0-lgl-barcode.description"></a><h2>Description</h2>
174 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.
175 These structures form the basic intermediate barcode representation used by libglbarcode.
176 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.
179 <div class="refsect1">
180 <a name="libglbarcode-3.0-lgl-barcode.functions_details"></a><h2>Functions</h2>
181 <div class="refsect2">
182 <a name="lgl-barcode-new"></a><h3>lgl_barcode_new ()</h3>
183 <pre class="programlisting"><a class="link" href="libglbarcode-3.0-lgl-barcode.html#lglBarcode" title="lglBarcode"><span class="returnvalue">lglBarcode</span></a> *
184 lgl_barcode_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
185 <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>
186 <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>
187 <div class="note"><p>
188 This function is intended to be used internally by barcode implementations.
189 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.
191 <div class="refsect3">
192 <a name="id-1.3.2.8.2.7"></a><h4>Returns</h4>
193 <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
199 <div class="refsect2">
200 <a name="lgl-barcode-free"></a><h3>lgl_barcode_free ()</h3>
201 <pre class="programlisting"><span class="returnvalue">void</span>
202 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>
203 <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>
204 <div class="refsect3">
205 <a name="id-1.3.2.8.3.5"></a><h4>Parameters</h4>
206 <div class="informaltable"><table width="100%" border="0">
208 <col width="150px" class="parameters_name">
209 <col class="parameters_description">
210 <col width="200px" class="parameters_annotations">
213 <td class="parameter_name"><p>bc</p></td>
214 <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>
215 <td class="parameter_annotations"> </td>
221 <div class="refsect2">
222 <a name="lgl-barcode-add-line"></a><h3>lgl_barcode_add_line ()</h3>
223 <pre class="programlisting"><span class="returnvalue">void</span>
224 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>,
225 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
226 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
227 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> length</code></em>,
228 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>);</pre>
229 <p>Add a vertical line to barcode. Coordinates are relative to top left corner
230 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
231 <div class="note"><p>
232 This function is intended to be used internally by barcode implementations.
234 <div class="refsect3">
235 <a name="id-1.3.2.8.4.6"></a><h4>Parameters</h4>
236 <div class="informaltable"><table width="100%" border="0">
238 <col width="150px" class="parameters_name">
239 <col class="parameters_description">
240 <col width="200px" class="parameters_annotations">
244 <td class="parameter_name"><p>bc</p></td>
245 <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>
246 <td class="parameter_annotations"> </td>
249 <td class="parameter_name"><p>x</p></td>
250 <td class="parameter_description"><p>x coordinate of top of line</p></td>
251 <td class="parameter_annotations"> </td>
254 <td class="parameter_name"><p>y</p></td>
255 <td class="parameter_description"><p>y coordinate of top of line</p></td>
256 <td class="parameter_annotations"> </td>
259 <td class="parameter_name"><p>length</p></td>
260 <td class="parameter_description"><p>Length of line</p></td>
261 <td class="parameter_annotations"> </td>
264 <td class="parameter_name"><p>width</p></td>
265 <td class="parameter_description"><p>Width of line</p></td>
266 <td class="parameter_annotations"> </td>
273 <div class="refsect2">
274 <a name="lgl-barcode-add-box"></a><h3>lgl_barcode_add_box ()</h3>
275 <pre class="programlisting"><span class="returnvalue">void</span>
276 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>,
277 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
278 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
279 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> width</code></em>,
280 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
281 <p>Add a box to barcode. Coordinates are relative to top left corner
282 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
283 <div class="note"><p>
284 This function is intended to be used internally by barcode implementations.
286 <div class="refsect3">
287 <a name="id-1.3.2.8.5.6"></a><h4>Parameters</h4>
288 <div class="informaltable"><table width="100%" border="0">
290 <col width="150px" class="parameters_name">
291 <col class="parameters_description">
292 <col width="200px" class="parameters_annotations">
296 <td class="parameter_name"><p>bc</p></td>
297 <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>
298 <td class="parameter_annotations"> </td>
301 <td class="parameter_name"><p>x</p></td>
302 <td class="parameter_description"><p>x coordinate of top left corner of box</p></td>
303 <td class="parameter_annotations"> </td>
306 <td class="parameter_name"><p>y</p></td>
307 <td class="parameter_description"><p>y coordinate of top left corner of box</p></td>
308 <td class="parameter_annotations"> </td>
311 <td class="parameter_name"><p>width</p></td>
312 <td class="parameter_description"><p>Width of box</p></td>
313 <td class="parameter_annotations"> </td>
316 <td class="parameter_name"><p>height</p></td>
317 <td class="parameter_description"><p>Height of box</p></td>
318 <td class="parameter_annotations"> </td>
325 <div class="refsect2">
326 <a name="lgl-barcode-add-char"></a><h3>lgl_barcode_add_char ()</h3>
327 <pre class="programlisting"><span class="returnvalue">void</span>
328 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>,
329 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
330 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
331 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fsize</code></em>,
332 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
333 <p>Add an ASCII character to barcode. Coordinates are relative to top left corner
334 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
335 <div class="note"><p>
336 This function is intended to be used internally by barcode implementations.
338 <div class="refsect3">
339 <a name="id-1.3.2.8.6.6"></a><h4>Parameters</h4>
340 <div class="informaltable"><table width="100%" border="0">
342 <col width="150px" class="parameters_name">
343 <col class="parameters_description">
344 <col width="200px" class="parameters_annotations">
348 <td class="parameter_name"><p>bc</p></td>
349 <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>
350 <td class="parameter_annotations"> </td>
353 <td class="parameter_name"><p>x</p></td>
354 <td class="parameter_description"><p>x coordinate of left baseline of character</p></td>
355 <td class="parameter_annotations"> </td>
358 <td class="parameter_name"><p>y</p></td>
359 <td class="parameter_description"><p>y coordinate of left baseline of character</p></td>
360 <td class="parameter_annotations"> </td>
363 <td class="parameter_name"><p>fsize</p></td>
364 <td class="parameter_description"><p>Font size</p></td>
365 <td class="parameter_annotations"> </td>
368 <td class="parameter_name"><p>c</p></td>
369 <td class="parameter_description"><p>Character to add</p></td>
370 <td class="parameter_annotations"> </td>
377 <div class="refsect2">
378 <a name="lgl-barcode-add-string"></a><h3>lgl_barcode_add_string ()</h3>
379 <pre class="programlisting"><span class="returnvalue">void</span>
380 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>,
381 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
382 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
383 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fsize</code></em>,
384 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
385 <em class="parameter"><code><span class="type">gsize</span> length</code></em>);</pre>
386 <p>Add a character string to barcode. Coordinates are relative to top left corner
387 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
388 <div class="note"><p>
389 This function is intended to be used internally by barcode implementations.
391 <div class="refsect3">
392 <a name="id-1.3.2.8.7.6"></a><h4>Parameters</h4>
393 <div class="informaltable"><table width="100%" border="0">
395 <col width="150px" class="parameters_name">
396 <col class="parameters_description">
397 <col width="200px" class="parameters_annotations">
401 <td class="parameter_name"><p>bc</p></td>
402 <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>
403 <td class="parameter_annotations"> </td>
406 <td class="parameter_name"><p>x</p></td>
407 <td class="parameter_description"><p>x coordinate of horizontal center of baseline of string</p></td>
408 <td class="parameter_annotations"> </td>
411 <td class="parameter_name"><p>y</p></td>
412 <td class="parameter_description"><p>y coordinate of horizontal center of baseline of string</p></td>
413 <td class="parameter_annotations"> </td>
416 <td class="parameter_name"><p>fsize</p></td>
417 <td class="parameter_description"><p>Font size</p></td>
418 <td class="parameter_annotations"> </td>
421 <td class="parameter_name"><p>string</p></td>
422 <td class="parameter_description"><p>String to add</p></td>
423 <td class="parameter_annotations"> </td>
426 <td class="parameter_name"><p>length</p></td>
427 <td class="parameter_description"><p>Number of bytes in string</p></td>
428 <td class="parameter_annotations"> </td>
435 <div class="refsect2">
436 <a name="lgl-barcode-add-ring"></a><h3>lgl_barcode_add_ring ()</h3>
437 <pre class="programlisting"><span class="returnvalue">void</span>
438 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>,
439 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
440 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
441 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> radius</code></em>,
442 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> line_width</code></em>);</pre>
443 <p>Add a ring to barcode. Coordinates are relative to top left corner
444 of barcode. All units are in points ( 1 point = 1/72 inch ).</p>
445 <div class="note"><p>
446 This function is intended to be used internally by barcode implementations.
448 <div class="refsect3">
449 <a name="id-1.3.2.8.8.6"></a><h4>Parameters</h4>
450 <div class="informaltable"><table width="100%" border="0">
452 <col width="150px" class="parameters_name">
453 <col class="parameters_description">
454 <col width="200px" class="parameters_annotations">
458 <td class="parameter_name"><p>bc</p></td>
459 <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>
460 <td class="parameter_annotations"> </td>
463 <td class="parameter_name"><p>x</p></td>
464 <td class="parameter_description"><p>x coordinate of center of circle</p></td>
465 <td class="parameter_annotations"> </td>
468 <td class="parameter_name"><p>y</p></td>
469 <td class="parameter_description"><p>y coordinate of center of circle</p></td>
470 <td class="parameter_annotations"> </td>
473 <td class="parameter_name"><p>radius</p></td>
474 <td class="parameter_description"><p>Radius of ring (center of line)</p></td>
475 <td class="parameter_annotations"> </td>
478 <td class="parameter_name"><p>line_width</p></td>
479 <td class="parameter_description"><p>Width of line</p></td>
480 <td class="parameter_annotations"> </td>
487 <div class="refsect2">
488 <a name="lgl-barcode-add-hexagon"></a><h3>lgl_barcode_add_hexagon ()</h3>
489 <pre class="programlisting"><span class="returnvalue">void</span>
490 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>,
491 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
492 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>,
493 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> height</code></em>);</pre>
494 <p>Add a regular hexagon (oriented with vertexes at top and bottom) to barcode.
495 Coordinates are relative to top left corner of barcode. All units are in
496 points ( 1 point = 1/72 inch ).</p>
497 <div class="note"><p>
498 This function is intended to be used internally by barcode implementations.
500 <div class="refsect3">
501 <a name="id-1.3.2.8.9.6"></a><h4>Parameters</h4>
502 <div class="informaltable"><table width="100%" border="0">
504 <col width="150px" class="parameters_name">
505 <col class="parameters_description">
506 <col width="200px" class="parameters_annotations">
510 <td class="parameter_name"><p>bc</p></td>
511 <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>
512 <td class="parameter_annotations"> </td>
515 <td class="parameter_name"><p>x</p></td>
516 <td class="parameter_description"><p>x coordinate of top point of hexagon</p></td>
517 <td class="parameter_annotations"> </td>
520 <td class="parameter_name"><p>y</p></td>
521 <td class="parameter_description"><p>y coordinate of top point of hexagon</p></td>
522 <td class="parameter_annotations"> </td>
525 <td class="parameter_name"><p>height</p></td>
526 <td class="parameter_description"><p>Height of hexagon</p></td>
527 <td class="parameter_annotations"> </td>
534 <div class="refsect1">
535 <a name="libglbarcode-3.0-lgl-barcode.other_details"></a><h2>Types and Values</h2>
536 <div class="refsect2">
537 <a name="lglBarcode"></a><h3>lglBarcode</h3>
538 <pre class="programlisting">typedef struct {
542 GList *shapes; /* List of lglBarcodeShape drawing primitives */
545 <p>This structure contains the libglbarcode intermediate barcode format. This
546 structure contains a simple vectorized representation of the barcode. This
547 vectorized representation is easy to interpret by a rendering backend for
548 either vector or raster formats. A simple API is provided for constructing
549 barcodes in this format.</p>
550 <div class="refsect3">
551 <a name="id-1.3.2.9.2.5"></a><h4>Members</h4>
552 <div class="informaltable"><table width="100%" border="0">
554 <col width="300px" class="struct_members_name">
555 <col class="struct_members_description">
556 <col width="200px" class="struct_members_annotations">
560 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
561 <td class="struct_member_description"><p>Width of barcode bounding box (points)</p></td>
562 <td class="struct_member_annotations"> </td>
565 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
566 <td class="struct_member_description"><p>Height of barcode bounding box (points)</p></td>
567 <td class="struct_member_annotations"> </td>
570 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
571 <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>
572 <td class="struct_member_annotations"> </td>
579 <div class="refsect2">
580 <a name="lglBarcodeShapeType"></a><h3>enum lglBarcodeShapeType</h3>
583 <div class="refsect3">
584 <a name="id-1.3.2.9.3.4"></a><h4>Members</h4>
585 <div class="informaltable"><table width="100%" border="0">
587 <col width="300px" class="enum_members_name">
588 <col class="enum_members_description">
589 <col width="200px" class="enum_members_annotations">
593 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-LINE:CAPS"></a>LGL_BARCODE_SHAPE_LINE</p></td>
594 <td class="enum_member_description"> </td>
595 <td class="enum_member_annotations"> </td>
598 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-BOX:CAPS"></a>LGL_BARCODE_SHAPE_BOX</p></td>
599 <td class="enum_member_description"> </td>
600 <td class="enum_member_annotations"> </td>
603 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-CHAR:CAPS"></a>LGL_BARCODE_SHAPE_CHAR</p></td>
604 <td class="enum_member_description"> </td>
605 <td class="enum_member_annotations"> </td>
608 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-STRING:CAPS"></a>LGL_BARCODE_SHAPE_STRING</p></td>
609 <td class="enum_member_description"> </td>
610 <td class="enum_member_annotations"> </td>
613 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-RING:CAPS"></a>LGL_BARCODE_SHAPE_RING</p></td>
614 <td class="enum_member_description"> </td>
615 <td class="enum_member_annotations"> </td>
618 <td class="enum_member_name"><p><a name="LGL-BARCODE-SHAPE-HEXAGON:CAPS"></a>LGL_BARCODE_SHAPE_HEXAGON</p></td>
619 <td class="enum_member_description"> </td>
620 <td class="enum_member_annotations"> </td>
627 <div class="refsect2">
628 <a name="lglBarcodeShape"></a><h3>lglBarcodeShape</h3>
633 <div class="refsect2">
634 <a name="lglBarcodeShapeAny"></a><h3>lglBarcodeShapeAny</h3>
635 <pre class="programlisting">typedef struct {
636 /* Begin Common Fields */
637 lglBarcodeShapeType type;
640 /* End Common Fields */
641 } lglBarcodeShapeAny;
647 <div class="refsect2">
648 <a name="lglBarcodeShapeLine"></a><h3>lglBarcodeShapeLine</h3>
649 <pre class="programlisting">typedef struct {
650 /* Begin Common Fields */
651 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_LINE. */
654 /* End Common Fields */
658 } lglBarcodeShapeLine;
660 <p>A vertical line drawing primitive.</p>
661 <pre class="programlisting">
663 @ = origin (x,y) from top left corner of barcode
677 <p>All units are in points ( 1 point = 1/72 inch ).</p>
678 <div class="refsect3">
679 <a name="id-1.3.2.9.6.7"></a><h4>Members</h4>
680 <div class="informaltable"><table width="100%" border="0">
682 <col width="300px" class="struct_members_name">
683 <col class="struct_members_description">
684 <col width="200px" class="struct_members_annotations">
688 <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>
689 <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>
690 <td class="struct_member_annotations"> </td>
693 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
694 <td class="struct_member_description"><p>x coordinate of top of line</p></td>
695 <td class="struct_member_annotations"> </td>
698 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
699 <td class="struct_member_description"><p>y coordinate of top of line</p></td>
700 <td class="struct_member_annotations"> </td>
703 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
704 <td class="struct_member_description"><p>Length of line</p></td>
705 <td class="struct_member_annotations"> </td>
708 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
709 <td class="struct_member_description"><p>Width of line</p></td>
710 <td class="struct_member_annotations"> </td>
717 <div class="refsect2">
718 <a name="lglBarcodeShapeBox"></a><h3>lglBarcodeShapeBox</h3>
719 <pre class="programlisting">typedef struct {
720 /* Begin Common Fields */
721 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_BOX. */
724 /* End Common Fields */
728 } lglBarcodeShapeBox;
730 <p>A solid box drawing primitive.</p>
731 <pre class="programlisting">
733 @ = origin (x,y) from top left corner of barcode
747 <p>All units are in points ( 1 point = 1/72 inch ).</p>
748 <div class="refsect3">
749 <a name="id-1.3.2.9.7.7"></a><h4>Members</h4>
750 <div class="informaltable"><table width="100%" border="0">
752 <col width="300px" class="struct_members_name">
753 <col class="struct_members_description">
754 <col width="200px" class="struct_members_annotations">
758 <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>
759 <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>
760 <td class="struct_member_annotations"> </td>
763 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
764 <td class="struct_member_description"><p>x coordinate of top left corner of box</p></td>
765 <td class="struct_member_annotations"> </td>
768 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
769 <td class="struct_member_description"><p>y coordinate of top left corner of box</p></td>
770 <td class="struct_member_annotations"> </td>
773 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
774 <td class="struct_member_description"><p>Width of box</p></td>
775 <td class="struct_member_annotations"> </td>
778 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
779 <td class="struct_member_description"><p>Height of box</p></td>
780 <td class="struct_member_annotations"> </td>
787 <div class="refsect2">
788 <a name="lglBarcodeShapeChar"></a><h3>lglBarcodeShapeChar</h3>
789 <pre class="programlisting">typedef struct {
790 /* Begin Common Fields */
791 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_CHAR. */
794 /* End Common Fields */
798 } lglBarcodeShapeChar;
800 <p>An single byte character drawing primitive.</p>
801 <pre class="programlisting">
803 @ = origin (x,y) from top left corner of barcode
813 @ ----------------------
816 <p>All units are in points ( 1 point = 1/72 inch ).</p>
817 <div class="refsect3">
818 <a name="id-1.3.2.9.8.7"></a><h4>Members</h4>
819 <div class="informaltable"><table width="100%" border="0">
821 <col width="300px" class="struct_members_name">
822 <col class="struct_members_description">
823 <col width="200px" class="struct_members_annotations">
827 <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>
828 <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>
829 <td class="struct_member_annotations"> </td>
832 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
833 <td class="struct_member_description"><p>x coordinate of left baseline of character</p></td>
834 <td class="struct_member_annotations"> </td>
837 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
838 <td class="struct_member_description"><p>y coordinate of left baseline of character</p></td>
839 <td class="struct_member_annotations"> </td>
842 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
843 <td class="struct_member_description"><p>Font size</p></td>
844 <td class="struct_member_annotations"> </td>
847 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
848 <td class="struct_member_description"><p>Character to add</p></td>
849 <td class="struct_member_annotations"> </td>
856 <div class="refsect2">
857 <a name="lglBarcodeShapeString"></a><h3>lglBarcodeShapeString</h3>
858 <pre class="programlisting">typedef struct {
859 /* Begin Common Fields */
860 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_STRING. */
863 /* End Common Fields */
867 } lglBarcodeShapeString;
869 <p>A character string drawing primitive.</p>
870 <pre class="programlisting">
872 @ = origin (x,y) from top left corner of barcode
874 ____ _ ------------------
877 / /__\ \ | |___ ____ |
878 / ______ \ | ._ \ / __| | ~fsize
879 / / \ \ | |_) | | (__ |
880 /__/ \__\ |_.___/ \____| |
883 x = horizontal center
886 <p>All units are in points ( 1 point = 1/72 inch ).</p>
887 <div class="refsect3">
888 <a name="id-1.3.2.9.9.7"></a><h4>Members</h4>
889 <div class="informaltable"><table width="100%" border="0">
891 <col width="300px" class="struct_members_name">
892 <col class="struct_members_description">
893 <col width="200px" class="struct_members_annotations">
897 <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>
898 <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>
899 <td class="struct_member_annotations"> </td>
902 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
903 <td class="struct_member_description"><p>x coordinate of horizontal center of baseline of string</p></td>
904 <td class="struct_member_annotations"> </td>
907 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
908 <td class="struct_member_description"><p>y coordinate of horizontal center of baseline of string</p></td>
909 <td class="struct_member_annotations"> </td>
912 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
913 <td class="struct_member_description"><p>Font size</p></td>
914 <td class="struct_member_annotations"> </td>
917 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
918 <td class="struct_member_description"><p>String to add</p></td>
919 <td class="struct_member_annotations"> </td>
926 <div class="refsect2">
927 <a name="lglBarcodeShapeRing"></a><h3>lglBarcodeShapeRing</h3>
928 <pre class="programlisting">typedef struct {
929 /* Begin Common Fields */
930 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_RING. */
933 /* End Common Fields */
937 } lglBarcodeShapeRing;
939 <p>A ring (an open circle) drawing primitive.</p>
940 <pre class="programlisting">
942 @ = origin (x,y) is centre of circle
951 \ `.____.' / | radius
956 <p>All units are in points ( 1 point = 1/72 inch ).</p>
957 <div class="refsect3">
958 <a name="id-1.3.2.9.10.7"></a><h4>Members</h4>
959 <div class="informaltable"><table width="100%" border="0">
961 <col width="300px" class="struct_members_name">
962 <col class="struct_members_description">
963 <col width="200px" class="struct_members_annotations">
967 <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>
968 <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>
969 <td class="struct_member_annotations"> </td>
972 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
973 <td class="struct_member_description"><p>x coordinate of center of circle</p></td>
974 <td class="struct_member_annotations"> </td>
977 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
978 <td class="struct_member_description"><p>y coordinate of center of circle</p></td>
979 <td class="struct_member_annotations"> </td>
982 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
983 <td class="struct_member_description"><p>Radius of ring (center of line)</p></td>
984 <td class="struct_member_annotations"> </td>
987 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
988 <td class="struct_member_description"><p>Width of line</p></td>
989 <td class="struct_member_annotations"> </td>
996 <div class="refsect2">
997 <a name="lglBarcodeShapeHexagon"></a><h3>lglBarcodeShapeHexagon</h3>
998 <pre class="programlisting">typedef struct {
999 /* Begin Common Fields */
1000 lglBarcodeShapeType type; /* Always LGL_BARCODE_SHAPE_HEXAGON. */
1003 /* End Common Fields */
1006 } lglBarcodeShapeHexagon;
1008 <p>A solid regular hexagon (oriented with vertexes at top and bottom) drawing primitive.</p>
1009 <pre class="programlisting">
1011 @ = origin (x,y) is top of hexagon
1013 @ ------------------
1026 " ------------------
1029 <p>All units are in points ( 1 point = 1/72 inch ).</p>
1030 <div class="refsect3">
1031 <a name="id-1.3.2.9.11.7"></a><h4>Members</h4>
1032 <div class="informaltable"><table width="100%" border="0">
1034 <col width="300px" class="struct_members_name">
1035 <col class="struct_members_description">
1036 <col width="200px" class="struct_members_annotations">
1040 <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>
1041 <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>
1042 <td class="struct_member_annotations"> </td>
1045 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
1046 <td class="struct_member_description"><p>x coordinate of top point of hexagon</p></td>
1047 <td class="struct_member_annotations"> </td>
1050 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
1051 <td class="struct_member_description"><p>y coordinate of top point of hexagon</p></td>
1052 <td class="struct_member_annotations"> </td>
1055 <td class="struct_member_name"><p><a href="http://library.gnome.org/devel/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>
1056 <td class="struct_member_description"><p>Height of hexagon</p></td>
1057 <td class="struct_member_annotations"> </td>
1065 <div class="footer">
1067 Generated by GTK-Doc V1.20</div>