KReport

barcodepaint.h
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 BARCODEPAINT_H
20#define BARCODEPAINT_H
21
22#include <QRect>
23#include <QString>
24
25//
26// i2of5
27//
28void renderI2of5(const QRectF &, const QString &, Qt::Alignment align, QPainter *);
29
30//
31// 3of9
32//
33void render3of9(const QRect &, const QString &, Qt::Alignment align, QPainter *);
34
35//
36// 3of9+
37//
38void renderExtended3of9(const QRect &, const QString &, Qt::Alignment align, QPainter *);
39
40//
41// Code 128
42//
43void renderCode128(const QRect &, const QString &, Qt::Alignment align, QPainter *);
44
45//
46// Code EAN/UPC
47//
48void renderCodeEAN13(const QRect &, const QString &, Qt::Alignment align, QPainter *);
49void renderCodeEAN8(const QRect &, const QString &, Qt::Alignment align, QPainter *);
50void renderCodeUPCA(const QRect &, const QString &, Qt::Alignment align, QPainter *);
51void renderCodeUPCE(const QRect &, const QString &, Qt::Alignment align, QPainter *);
52
53#endif
54
typedef Alignment
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.