1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-28 14:25:59 +00:00

Improved box and boundary bars render. Added whitespace control.

This commit is contained in:
hooper114
2009-05-03 06:35:18 +00:00
parent aa785f06a8
commit f584c5f8e8
4 changed files with 115 additions and 51 deletions

View File

@@ -74,6 +74,8 @@ public:
void setInputMode(int input_mode);
void setWhitespace(int whitespace);
void render(QPainter & painter, const QRectF & paintRect, AspectRatioMode mode=IgnoreAspectRatio);
const QString & lastError();
@@ -87,7 +89,7 @@ private:
QString m_primaryMessage;
int m_height;
BorderType m_border;
int m_boderWidth;
int m_borderWidth;
int m_width;
int m_securityLevel;
int m_pdf417CodeWords;
@@ -96,6 +98,7 @@ private:
QColor m_bgColor;
QString m_lastError;
int m_error;
int m_whitespace;
zint_symbol * m_zintSymbol;
};
}