equal
deleted
inserted
replaced
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 |