Prison

datamatrixbarcode.h
1 /*
2  SPDX-FileCopyrightText: 2010-2016 Sune Vuorela <[email protected]>
3 
4  SPDX-License-Identifier: MIT
5 */
6 
7 #ifndef PRISON_DATAMATRIXBARCODE_H
8 #define PRISON_DATAMATRIXBARCODE_H
9 
10 #include "abstractbarcode.h"
11 #include "prison_export.h"
12 
13 namespace Prison
14 {
15 /**
16  * This is a Datamatrix barcode generator that uses libdmtx
17  * for the actual generation of barcodes.
18  */
20 {
21 public:
22  /**
23  * creates a datamatrixbarcode generator
24  */
26  ~DataMatrixBarcode() override;
27 
28 protected:
29  /**
30  * This is the function doing the actual work in generating the barcode
31  * @return QImage containing a DataMatrix, trying to approximate the requested sizes
32  */
33  QImage paintImage(const QSizeF &size) override;
34 };
35 }
36 
37 #endif // PRISON_DATAMATRIXBARCODE_H
QImage paintImage(const QSizeF &size) override
This is the function doing the actual work in generating the barcode.
This is a Datamatrix barcode generator that uses libdmtx for the actual generation of barcodes.
DataMatrixBarcode()
creates a datamatrixbarcode generator
base class for barcode generators To add your own barcode generator, subclass this class and reimplem...
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.