Re: Qahirah: A High-Level Cairo API Binding For Python 3
Lawrence D'Oliveiro <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Fri, 6 Mar 2015 16:03:50 -0800, Bryce Harrington wrote:
> Have you looked at cairocffi?
>
> https://pypi.python.org/pypi/cairocffi/
I did have a brief look. I wanted something that went beyond toy fonts,
which it doesn’t seem to do. Also it sticks closely to the underlying
Cairo API calls and compatibility with Pycairo. Whereas Qahirah makes
heavy use of Python properties, so that instead of
pat = ctx.get_source()
and
ctx.set_source(pat)
you can write
pat = ctx.source
and
ctx.source = pat
The set_xxx calls are available, for use with method-chaining, but I
don’t bother with the get_xxx calls.
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo