Pattern.setFilter - multiple declarations

Function Pattern.setFilter

Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.

Prototype

void setFilter(
  cairo_filter_t fil
);

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:

context.setSourceSurface(image, x, y);
context.getSource().setFilter(Filter.CAIRO_FILTER_NEAREST);

Function Pattern.setFilter

Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.

Prototype

void setFilter(
  cairo_filter_t fil
);

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:

context.setSourceSurface(image, x, y);
context.getSource().setFilter(Filter.CAIRO_FILTER_NEAREST);

Function Pattern.setFilter

Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.

Prototype

void setFilter(
  cairo_filter_t fil
);

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:

context.setSourceSurface(image, x, y);
context.getSource().setFilter(Filter.CAIRO_FILTER_NEAREST);

Function Pattern.setFilter

Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.

Prototype

void setFilter(
  cairo_filter_t fil
);

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:

context.setSourceSurface(image, x, y);
context.getSource().setFilter(Filter.CAIRO_FILTER_NEAREST);

Function Pattern.setFilter

Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.

Prototype

void setFilter(
  cairo_filter_t fil
);

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:

context.setSourceSurface(image, x, y);
context.getSource().setFilter(Filter.CAIRO_FILTER_NEAREST);

Function Pattern.setFilter

Sets the filter to be used for resizing when using this pattern. See Filter for details on each filter.

Prototype

void setFilter(
  cairo_filter_t fil
);

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:

context.setSourceSurface(image, x, y);
context.getSource().setFilter(Filter.CAIRO_FILTER_NEAREST);

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1