Commit Graph

78 Commits

Author SHA1 Message Date
Christoph Reiter 8643af4c10 release 2019-10-24 22:23:26 +02:00
Christoph Reiter 523e679c1b release 2019-04-19 18:04:32 +02:00
Christoph Reiter c666979e51 release 2018-11-04 11:52:06 +01:00
Christoph Reiter df9b51e344 release 2018-07-07 18:04:39 +02:00
Christoph Reiter 910ee82a5c release 2018-04-15 12:15:22 +02:00
Christoph Reiter cb35d86263 Implement PEP 561 (added a py.typed marker) 2018-04-15 10:12:03 +02:00
Christoph Reiter 9215412954 c-api: Make it possible to use the C API with Python 3 outside of the CU doing the import. Fixes #110
In case PYCAIRO_NO_IMPORT is defined we declare the api struct as extern and hide the
import function. Also don't make the API struct static so we can access it from outside.
2018-04-13 17:11:32 +02:00
Christoph Reiter e9cc184bb3 Update NEWS and docs for the next release 2018-04-09 19:59:36 +02:00
Christoph Reiter 5751aae1df release 2018-02-27 12:14:21 +01:00
Christoph Reiter c74dc1e358 release 2018-02-10 18:14:55 +01:00
Christoph Reiter ed67cc29d7 release 2018-02-06 13:38:20 +01:00
Christoph Reiter fa1d76e06a release 2018-02-05 16:39:39 +01:00
Christoph Reiter 9249726375 release 2018-01-30 15:50:51 +01:00
Christoph Reiter 83f8938a79 release 2018-01-29 11:42:20 +01:00
Christoph Reiter 75044e6f0c setup.py: Don't include the pkg-config file when building wheels. See #83
This just creates problems, so just skip it.
2018-01-01 11:49:22 +01:00
Christoph Reiter 4e4bfe66e7 Use utf-8 as path encoding for cairo >= 1.15.10. Fixes #86
With https://cgit.freedesktop.org/cairo/commit/?id=84fc0ce91d1a57d20500f710abc0e17de82c67df
cairo has moved from using fopen, which supports ANSI paths, to _wfopen, which
supports all Windows paths. The input is changed/limited to utf-8.

To paper over this "API break" (anything outside of ASCII is different)
adjust the encoding based on the cairo library version at runtime.
2017-12-30 18:24:32 +01:00
Christoph Reiter 88478f2bb1 release 2017-11-08 13:42:16 +01:00
Christoph Reiter 1b3527ecb1 release 2017-09-17 22:00:35 +02:00
Christoph Reiter 03a1c0f7aa release 2017-09-03 14:52:11 +02:00
Christoph Reiter e9446ddeaf release 2017-08-19 11:27:29 +02:00
Christoph Reiter dfdc65884c NEWS: add note about versioning 2017-08-07 15:18:46 +02:00
Christoph Reiter 1355450a97 release 2017-07-24 16:05:05 +02:00
Christoph Reiter 663700b821 sync NEWS with stable branch 2017-07-24 16:00:36 +02:00
Christoph Reiter de5315d516 Update NEWS 2017-07-24 08:52:12 +02:00
Christoph Reiter b10da618b1 docs: document more class attributes 2017-07-24 08:44:43 +02:00
Christoph Reiter 0d6fbbc42b Add Context.show_text_glyphs() 2017-07-23 12:50:47 +02:00
Christoph Reiter d5a3a03509 Add ScaledFont.text_to_glyphs 2017-07-22 23:38:50 +02:00
Christoph Reiter 6981691097 Add cairo.TextCluster. Fixes #61 2017-07-22 22:24:07 +02:00
Christoph Reiter 23933c3658 Add cairo.Rectangle. Fixes #54 2017-07-22 21:42:44 +02:00
Christoph Reiter c05af22381 Add cairo.Glyph. Fixes #53
It's a tuple subclass, so can be used everywhere where it was used before.

In the documentation remove all the optional glyph array lengths, as they
are not strictly needed (one cas just pass slices) and just complicate things.
2017-07-22 16:13:30 +02:00
Christoph Reiter 42eb8a30f5 Add RasterSourcePattern. Fixes #48
This only adds the type, constructor and the get/set_acquire() methods.

Since for some reason the callbacks don't get passed the pattern, this
uses the callback data to access the Python functions in the callbacks.
The whole thing doesn't look heavily tested in cairo, so I'm waiting
for a response in https://bugs.freedesktop.org/show_bug.cgi?id=101866
before looking into wrapping more functions there.
2017-07-21 15:58:34 +02:00
Christoph Reiter 4eafd8798f error: raise cairo.IOError instead of IOError. Fixes #55 2017-07-18 19:12:17 +02:00
Christoph Reiter 1673d65cb0 Update NEWS 2017-07-14 21:10:49 +02:00
Christoph Reiter 6fa55284f7 release 2017-07-12 16:01:51 +02:00
Christoph Reiter 3a6c5af7a2 Update NEWS 2017-07-12 15:30:27 +02:00
Christoph Reiter 3ebeb2c951 Add cairo.MeshPattern. Fixes #18 2017-07-11 23:37:16 +02:00
Christoph Reiter 4b8aba8a97 Add TeeSurface 2017-07-11 20:20:15 +02:00
Christoph Reiter 9ebff889d4 Update NEWS 2017-07-10 19:17:51 +02:00
Christoph Reiter adcacc2020 NEWS: add some release targets so they can be linked by name 2017-07-05 16:44:09 +02:00
Christoph Reiter 319a8d02c1 docs: Add get/set_device_scale. See #44 2017-07-01 13:21:01 +02:00
Christoph Reiter a636fc44d3 release 2017-06-01 10:53:23 +02:00
Christoph Reiter e2bb6d6f11 release 2017-05-21 07:57:42 +02:00
Christoph Reiter aeed942c9b release 2017-05-07 15:05:52 +02:00
Christoph Reiter 97c6dc6d89 release 2017-05-03 09:33:39 +02:00
Christoph Reiter 71f97fde73 docs: port remaining references to the new enum types 2017-05-02 19:56:32 +02:00
Christoph Reiter 4982f5376d docs: Add cairo.Antialias and cairo.Content
Move all documentation to reference the new types and move the old
constants to a "legacy constants" page to help people support older
versions or cairocffi.
2017-05-02 14:12:34 +02:00
Christoph Reiter a90c844413 release 2017-04-18 10:47:32 +02:00
Christoph Reiter 9ce73274fa Update NEWS; require cairo 1.12 2017-04-18 10:34:04 +02:00
Christoph Reiter a522dc532d release 2017-04-12 15:50:57 +02:00
Christoph Reiter 452f8b5298 release 2017-04-09 19:02:46 +02:00