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