Sets the filter to be used for resizing when using this pattern.
See Filter for details on each filter.
Note:
You might want to control filtering even when you do not have
an explicit cairo_pattern_t object, (for example when using
context.setSourceSourface()). In these cases, it is convenient
to use Context.getSource() to get access to the pattern
that cairo creates implicitly.
For example:
Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.
Note: You might want to control filtering even when you do not have an explicit cairo_pattern_t object, (for example when using context.setSourceSourface()). In these cases, it is convenient to use Context.getSource() to get access to the pattern that cairo creates implicitly. For example: