Add Structured Append support for AZTEC, CODEONE, DATAMATRIX, DOTCODE,

GRIDMATRIX, MAXICODE, MICROPDF417, PDF417, QRCODE, ULTRA
DOTCODE: use pre-calculated generator poly coeffs in Reed-Solomon for
  performance improvement
PDF417/MICROPDF417: use common routine pdf417_initial()
GUI: code lines <= 118, shorthand widget_obj(),
  shorten calling upcean_addon_gap(), upcean_guard_descent()
various backend: var name debug -> debug_print
This commit is contained in:
gitlost 2021-09-28 21:42:44 +01:00
parent e8b1f7a12e
commit c0791ad85e
69 changed files with 6738 additions and 1822 deletions

View file

@ -72,6 +72,9 @@ public:
float guardDescent() const;
void setGuardDescent(float guardDescent);
void setStructApp(const int count, const int index, const QString& id);
void clearStructApp();
QColor fgColor() const;
void setFgColor(const QColor& fgColor);
@ -143,7 +146,7 @@ public:
/* Note: legacy argument `mode` is not used */
void render(QPainter& painter, const QRectF& paintRect, AspectRatioMode mode = IgnoreAspectRatio);
int getVersion() const;
signals:
@ -181,6 +184,7 @@ private:
bool m_dotty;
float m_dot_size;
float m_guardDescent;
struct zint_structapp m_structapp;
bool m_gs1parens;
bool m_gs1nocheck;
bool m_gssep;
@ -193,6 +197,6 @@ private:
int target_size_vert; /* Legacy */
};
}
} /* namespace Zint */
#endif /* QZINT_H */