cairocffi icon indicating copy to clipboard operation
cairocffi copied to clipboard

No Mesh Pattern Support

Open breannansmith opened this issue 9 years ago • 1 comments

cairocffi supports linear and radial patterns, but not mesh patterns. Mesh patterns are an incredibly useful feature of Cairo (for Gourad shading, for example), and would be great to have access to from Python.

breannansmith avatar Mar 11 '16 18:03 breannansmith

Yes, this would be nice to have. Cairo’s corresponding C functions can already be used through CFFI with e.g. cairocffi.cairo.cairo_pattern_create_mesh(). What’s missing is a new subclass of cairocffi.Pattern and its methods.

However I’m not actively working on cairocffi at the moment. I’d review a PR, though.

SimonSapin avatar Mar 11 '16 19:03 SimonSapin