1 /* This file is part of the KDE project
2  * Copyright (C) 2001-2007 by OpenMFG, LLC (info@openmfg.com)
3  * Copyright (C) 2007-2008 by Adam Pigg (adam@piggz.co.uk)
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __BARCODES_H__
20 #define __BARCODES_H__
21 
22 #include <QRect>
23 #include <QString>
24 
25 class OROPage;
26 
27 //
28 // i2of5
29 //
30 void renderI2of5(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
31 
32 //
33 // 3of9
34 //
35 void render3of9(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
36 
37 //
38 // 3of9+
39 //
40 void renderExtended3of9(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
41 
42 //
43 // Code 128
44 //
45 void renderCode128(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
46 
47 //
48 // Code EAN/UPC
49 //
50 void renderCodeEAN13(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
51 void renderCodeEAN8(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
52 void renderCodeUPCA(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
53 void renderCodeUPCE(OROPage *, const QRectF &, const QString &, Qt::Alignment align);
54 
55 #endif
56 
57