Functions | |
void | blur (QImage &result, const QRect &rect, int radius, bool alphaOnly) |
Convenience function for blurring a QImage. More... | |
void olive::ui::blur | ( | QImage & | result, |
const QRect & | rect, | ||
int | radius, | ||
bool | alphaOnly | ||
) |
Convenience function for blurring a QImage.
result | QImage to blur |
rect | The rectangle of the QImage to blur. Use QImage::rect() to blur the entire image. |
radius | The blur radius - how much to blur the image. |
alphaOnly | True if only the alpha channel should be blurred rather than the entire RGBA space. |