cairoPatternSetFilter: cairoPatternSetFilter

Description Usage Arguments Details Author(s)

View source: R/cairoFuncs.R

Description

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

Usage

1

Arguments

pattern

[CairoPattern] a CairoPattern

filter

[CairoFilter] a CairoFilter describing the filter to use for resizing the pattern

Details

* Note that you might want to control filtering even when you do not have an explicit CairoPattern object, (for example when using cairoSetSourceSurface). In these cases, it is convenient to use cairoGetSource to get access to the pattern that cairo creates implicitly. For example:

1
2
cr$setSourceSurface(image, x, y)
cr$getSource()$setFilter(CairoFilter["nearest"])

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.