mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-24 03:56:56 -04:00
Bugfix: Ouput binding in raster images
Also: tidy up use of output_options
This commit is contained in:
parent
747faf85ed
commit
3cf8a142b8
10 changed files with 52 additions and 44 deletions
|
@ -331,7 +331,7 @@ namespace Zint {
|
|||
gwidth *= (maxi_width + 1);
|
||||
}
|
||||
|
||||
if (m_zintSymbol->output_options &= BARCODE_DOTTY_MODE) {
|
||||
if (m_zintSymbol->output_options & BARCODE_DOTTY_MODE) {
|
||||
gwidth += 2.0;
|
||||
gheight += 2.0;
|
||||
}
|
||||
|
@ -476,7 +476,7 @@ namespace Zint {
|
|||
painter.drawEllipse(QPointF(14.5 * w, 16.5 * w * 0.868), w + w * 1.5, w + w * 1.5);
|
||||
painter.drawEllipse(QPointF(14.5 * w, 16.5 * w * 0.868), w + w * 3, w + w * 3);
|
||||
painter.restore();
|
||||
} else if (m_zintSymbol->output_options &= BARCODE_DOTTY_MODE) {
|
||||
} else if (m_zintSymbol->output_options & BARCODE_DOTTY_MODE) {
|
||||
/* Draw with dots (circles) */
|
||||
|
||||
p.setColor(m_fgColor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue