Prison::Pdf417Barcode

Search for usage in LXR

Prison::Pdf417Barcode Class Reference

#include <pdf417barcode.h>

Inheritance diagram for Prison::Pdf417Barcode:

Protected Member Functions

QImage paintImage (const QSizeF &size) override
 
- Protected Member Functions inherited from Prison::AbstractBarcode
void setMinimumSize (const QSizeF &minimumSize)
 

Additional Inherited Members

- Public Types inherited from Prison::AbstractBarcode
enum  Dimensions : uint8_t { NoDimensions, OneDimension, TwoDimensions }
 
- Public Member Functions inherited from Prison::AbstractBarcode
 AbstractBarcode ()
 
const QColorbackgroundColor () const
 
QByteArray byteArrayData () const
 
QString data () const
 
Dimensions dimensions () const
 
const QColorforegroundColor () const
 
QSizeF minimumSize () const
 
QSizeF preferredSize (qreal devicePixelRatio) const
 
void setBackgroundColor (const QColor &backgroundcolor)
 
void setData (const QByteArray &data)
 
void setData (const QString &data)
 
void setForegroundColor (const QColor &foregroundcolor)
 
QImage toImage (const QSizeF &size)
 
QSizeF trueMinimumSize () const
 

Detailed Description

PDF417 barcode.

See also
https://en.wikipedia.org/wiki/PDF417
ISO/IEC 15438

Definition at line 18 of file pdf417barcode.h.

Member Function Documentation

◆ paintImage()

QImage Pdf417Barcode::paintImage ( const QSizeF size)
overrideprotectedvirtual

Doing the actual painting of the image.

Parameters
sizeunused - will be removed in KF6
Returns
image with barcode, or null image

Implements Prison::AbstractBarcode.

Definition at line 22 of file pdf417barcode.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:06:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.