Package: cairo
Function cairo-pattern-set-filter
Lambda Listcairo-pattern-set-filter (pattern filter) ArgumentsDetails
Sets the filter to be used for resizing when using this pattern. See the cairo-filter-t enumeration for details on each filter. Note that you might want to control filtering even when you do not have an explicit cairo-pattern-t instance, for example when using the function cairo-set-source-surface. In these cases, it is convenient to use the function cairo-get-source to get access to the pattern that Cairo creates implicitly. For example: (cairo-set-source-surface cr image x y) (cairo-pattern-set-filter (cairo-get-source cr :nearest)) | See also |
2020-12-25