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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user