src/hbcore/ovgeffects/hbvgblureffect.cpp
changeset 34 ed14f46c0e55
parent 5 627c4a0fd0e7
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    72 }
    72 }
    73 
    73 
    74 QRectF HbVgBlurEffect::boundingRectFor(const QRectF &rect) const
    74 QRectF HbVgBlurEffect::boundingRectFor(const QRectF &rect) const
    75 {
    75 {
    76     Q_D(const HbVgBlurEffect);
    76     Q_D(const HbVgBlurEffect);
    77     QSizeF mappedRadius = d->mapSize(QSizeF(d->radius.x(), d->radius.y()));
    77     QSizeF mappedRadius = d->mapSize(QSizeF(d->radius.x() + 2, d->radius.y() + 2));
    78     qreal deltaX = mappedRadius.width();
    78     qreal deltaX = mappedRadius.width();
    79     qreal deltaY = mappedRadius.height();
    79     qreal deltaY = mappedRadius.height();
    80     return rect.adjusted(-deltaX, -deltaY, deltaX, deltaY);
    80     return rect.adjusted(-deltaX, -deltaY, deltaX, deltaY);
    81 }
    81 }
    82 
    82