mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-30 23:05:23 -04:00
cleanup
This commit is contained in:
parent
e6aadd96f7
commit
386f13a228
1 changed files with 0 additions and 3 deletions
|
@ -14,7 +14,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include "barcoderender.h"
|
#include "barcoderender.h"
|
||||||
|
|
||||||
|
@ -205,10 +204,8 @@ void BareCode::render(QPainter & painter, const QRectF & paintRect, AspectRatioM
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CenterBarCode:
|
case CenterBarCode:
|
||||||
qDebug()<<xtr<<ytr;
|
|
||||||
xtr+=((qreal)paintRect.width()-gwidth*xsf)/2;
|
xtr+=((qreal)paintRect.width()-gwidth*xsf)/2;
|
||||||
ytr+=((qreal)paintRect.height()-gheight*ysf)/2;
|
ytr+=((qreal)paintRect.height()-gheight*ysf)/2;
|
||||||
qDebug()<<xtr<<ytr;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue