File indexing completed on 2024-05-12 04:43:18

0001 /* This file is part of the KDE project
0002  * Copyright (C) 2001-2007 by OpenMFG, LLC (info@openmfg.com)
0003  * Copyright (C) 2007-2008 by Adam Pigg (adam@piggz.co.uk)
0004  *
0005  * This library is free software; you can redistribute it and/or
0006  * modify it under the terms of the GNU Lesser General Public
0007  * License as published by the Free Software Foundation; either
0008  * version 2.1 of the License, or (at your option) any later version.
0009  *
0010  * This library is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0013  * Lesser General Public License for more details.
0014  *
0015  * You should have received a copy of the GNU Lesser General Public
0016  * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
0017  */
0018 
0019 #ifndef BARCODEPAINT_H
0020 #define BARCODEPAINT_H
0021 
0022 #include <QRect>
0023 #include <QString>
0024 
0025 //
0026 // i2of5
0027 //
0028 void renderI2of5(const QRectF &, const QString &, Qt::Alignment align, QPainter *);
0029 
0030 //
0031 // 3of9
0032 //
0033 void render3of9(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0034 
0035 //
0036 // 3of9+
0037 //
0038 void renderExtended3of9(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0039 
0040 //
0041 // Code 128
0042 //
0043 void renderCode128(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0044 
0045 //
0046 // Code EAN/UPC
0047 //
0048 void renderCodeEAN13(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0049 void renderCodeEAN8(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0050 void renderCodeUPCA(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0051 void renderCodeUPCE(const QRect &, const QString &, Qt::Alignment align, QPainter *);
0052 
0053 #endif
0054