We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instead of calling C.setSourceSurface (https://github.com/diagrams/diagrams-cairo/blob/master/src/Diagrams/Backend/Cairo/Internal.hs#L292) we ought to use withPatternForSurface to create a Pattern first, then apply patternSetFilter to set the Filter (http://hackage.haskell.org/packages/archive/cairo/0.12.4/doc/html/Graphics-Rendering-Cairo.html#t:Filter) to something other than the default. (Is there a best choice or should we make it configurable somehow? Perhaps an attribute?) Then finally we can call setSource with the pattern.
C.setSourceSurface
withPatternForSurface
Pattern
patternSetFilter
Filter
setSource
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Instead of calling
C.setSourceSurface
(https://github.com/diagrams/diagrams-cairo/blob/master/src/Diagrams/Backend/Cairo/Internal.hs#L292) we ought to usewithPatternForSurface
to create aPattern
first, then applypatternSetFilter
to set theFilter
(http://hackage.haskell.org/packages/archive/cairo/0.12.4/doc/html/Graphics-Rendering-Cairo.html#t:Filter) to something other than the default. (Is there a best choice or should we make it configurable somehow? Perhaps an attribute?) Then finally we can callsetSource
with the pattern.The text was updated successfully, but these errors were encountered: