Prison
qrcodebarcode.cpp
25 // try decreasing ECC levels, in case the higher levels result in overflowing the maximum content size
50 QRinput_append(input.get(), QR_MODE_8, b.size(), reinterpret_cast<const uint8_t *>(b.constData()));
62 uchar *img = new uchar[4 * sizeof(char *) * (2 * margin + code->width) * (2 * margin * +code->width)];
78 if (row < margin || row >= (code->width + margin) || col < margin || col >= (code->width + margin)) {
105 QImage(img, code->width + 2 * margin, code->width + 2 * margin, QImage::Format_ARGB32).copy(); // deep copy as we are going to delete img
const char * constData() const const
void resize(qsizetype newSize, char c)
Format_ARGB32
QImage copy(const QRect &rectangle) const const
QString
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.