Summary: | context.get_source().get_surface() fails with "SystemError: NULL object passed to Py_BuildValue" | ||
---|---|---|---|
Product: | pycairo | Reporter: | kriomant |
Component: | general | Assignee: | Steve Chaplin <d74n5pohf9> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
kriomant
2011-01-12 00:08:02 UTC
Thanks for the bug report, its now fixed in git. I had assumed the only way to create a surface pattern was using cairo.SurfacePattern() but as your example shows you can bypass this by calling context.set_source_surface() and pattern = context.get_source() |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.