Prison

code93barcode.h
1 /*
2  SPDX-FileCopyrightText: 2011 Geoffry Song <[email protected]>
3 
4  SPDX-License-Identifier: MIT
5 */
6 
7 #ifndef PRISON_CODE93BARCODE_H
8 #define PRISON_CODE93BARCODE_H
9 
10 #include "abstractbarcode.h"
11 
12 namespace Prison
13 {
14 /**
15  * Code 93 Barcode generator
16  */
18 {
19 public:
20  /**
21  * creates a Code 93 generator
22  */
23  Code93Barcode();
24  ~Code93Barcode() override;
25  /**
26  * This function generates the barcode
27  * @return QImage containing a barcode, trying to approximate the requested sizes
28  * @param size The requested size of the barcode, approximate. if the barcode generator can't generate it, it can return a null QImage
29  */
30  QImage paintImage(const QSizeF &size) override;
31 };
32 } // namespace
33 
34 #endif // PRISON_CODE39BARCODE_H
QImage paintImage(const QSizeF &size) override
This function generates the barcode.
Code 93 Barcode generator.
Definition: code93barcode.h:17
base class for barcode generators To add your own barcode generator, subclass this class and reimplem...
Code93Barcode()
creates a Code 93 generator
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 1 2023 04:09:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.