1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-08 12:32:01 +00:00

aspectRatio

This commit is contained in:
taipanromania
2008-10-11 10:30:35 +00:00
parent 634386b8a4
commit 5994ff5cf7
4 changed files with 76 additions and 40 deletions

View File

@@ -36,7 +36,7 @@ QRectF BarcodeItem::boundingRect() const
void BarcodeItem::paint(QPainter * painter, const QStyleOptionGraphicsItem * /*option*/, QWidget * /*widget*/)
{
bc.render(*painter,boundingRect(),Zint::QZint::IgnoreAspectRatio);
bc.render(*painter,boundingRect(),ar);
}