Skip to content

Commit

Permalink
Bind cairo_pattern_get_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Jun 15, 2023
1 parent c3a0568 commit 814668f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Alexandrie-Cairo/AeCairoPattern.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ The default extend mode is CAIRO_EXTEND_NONE for surface patterns and CAIRO_EXTE
AeCairoExtendMode anExtendMode ) )
]

{ #category : #API }
AeCairoPattern >> filter [
"Gets the current filter on this pattern.
See: https://www.cairographics.org/manual/cairo-cairo-pattern-t.html#cairo-pattern-get-filter"

self ffiCall: #( AeCairoSamplingFilter cairo_pattern_get_filter ( self ) )
]

{ #category : #API }
AeCairoPattern >> filter: filter [
"Sets the filter to be used for resizing when using this pattern.
Expand Down

0 comments on commit 814668f

Please sign in to comment.