DrawableImage::ApplyFilter

DrawableImage::ApplyFilter
void ApplyFilter(DrawableImage* source, const Rect<SInt32>& sourceRect, const Point<SInt32>& destPoint, Filter* filter);
Description

ApplyFilter generates a filtered image from a source. Source can be a DrawableImage, furthermore they may refer to the same image, although that is more expensive due to a temp copy. 

Takes a source image and a filter object and generates the filtered image.

Parameters
Parameters 
Description 
DrawableImage* source 
The input drawable image to use. 
const Rect<SInt32>& sourceRect 
A rectangle that defines the area of the source image to use as input. 
const Point<SInt32>& destPoint 
The point within the destination image that corresponds to the upper-left corner of the source rectangle. 
Filter* filter 
The filter to perform the filtering operation.