Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
olive::ui Namespace Reference

Functions

void blur (QImage &result, const QRect &rect, int radius, bool alphaOnly)
 Convenience function for blurring a QImage. More...
 

Function Documentation

void olive::ui::blur ( QImage &  result,
const QRect &  rect,
int  radius,
bool  alphaOnly 
)

Convenience function for blurring a QImage.

Parameters
resultQImage to blur
rectThe rectangle of the QImage to blur. Use QImage::rect() to blur the entire image.
radiusThe blur radius - how much to blur the image.
alphaOnlyTrue if only the alpha channel should be blurred rather than the entire RGBA space.