1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-18 10:27:09 +00:00
This commit is contained in:
taipanromania
2008-07-21 18:08:07 +00:00
parent e6aadd96f7
commit 386f13a228

View File

@@ -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;
} }