1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-19 10:57:07 +00:00

Change height and row_height array to floats; DAFT tracker ratio

This commit is contained in:
gitlost
2021-06-19 13:11:23 +01:00
parent 22a6c583af
commit c693482aa1
63 changed files with 2708 additions and 1418 deletions

View File

@@ -38,7 +38,7 @@ namespace Zint {
QZint::QZint() {
m_symbol = BARCODE_CODE128;
m_height = 0;
m_height = 0.0f;
m_borderType = 0;
m_borderWidth = 0;
m_fontSetting = 0;
@@ -170,11 +170,11 @@ namespace Zint {
m_primaryMessage = primaryMessage;
}
int QZint::height() const {
float QZint::height() const {
return m_height;
}
void QZint::setHeight(int height) {
void QZint::setHeight(float height) {
m_height = height;
}