Pycairo

Latest version: v1.27.0

Safety actively analyzes 688823 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 11

1.8.6

------------------

General Changes:
Pycairo 1.8.6 requires cairo 1.8.6 (or later)

Bug Fixes:
* ImageSurface.create_from_png _read_func fix
* ToyFontFace type fix
* :fdobug:`19221`: restore cairo.Matrix '*' operator to the way it
originally worked.

Other Changes:
Documentation completed.

1.8.4

------------------

General Changes:
Pycairo 1.8.4 requires cairo 1.8.4 (or later) and Python 2.6

Bug Fixes:
* 20674: Add get/set_extend for Gradient Patterns

New Classes:
cairo.ToyFontFace

New Methods:
| Pattern.get_extend
| Pattern.set_extend
| ToyFontFace.get_family
| ToyFontFace.get_slant
| ToyFontFace.get_weight

Deleted Methods:
| SurfacePattern.get_extend
| SurfacePattern.set_extend

Other Changes:
Threading for surfaces with stream functions has been reenabled.
Documentation updates.

1.8.2

------------------

1.8.0

------------------

General Changes:
Pycairo 1.8.0 requires cairo 1.8.0 (or later).
Add documentation (available separately)

Bug Fixes:
* :fdobug:`18101`: Add support for threading
* :fdobug:`18947`: cairo.SurfacePattern should INCREF the used surface

New Methods:
| ScaledFont.get_scale_matrix
| Surface.mark_dirty_rectangle
| Surface.set_fallback_resolution

New Constants:
| cairo.EXTEND_PAD
| cairo.HAS_IMAGE_SURFACE
| cairo.HAS_USER_FONT

API Changes:
* Surface.mark_dirty: no longer accepts keyword arguments with default
values.
* PycairoPattern_FromPattern (C API): has a new 'base' argument - to fix
:fdobug:`18947`.

Other Changes:
Allow unknown cairo Pattern/Surface types to use the pycairo base
Pattern/Surface type.

1.6.4

------------------

General changes:
Pycairo 1.6.4 requires cairo 1.6.4 (or later).
requires Python 2.5 (or later).

Bug fixes:
:fdobug:`16112`: Fix win32 'python setup.py ...' build -- use double quotes

New Methods:
| Context.has_current_point
| Context.path_extents
| ImageSurface.format_stride_for_width
| PSSurface.get_eps
| PSSurface.set_eps
| PSSurface.ps_level_to_string
| PSSurface.restrict_to_level
| Surface.copy_page
| Surface.show_page

New Constants:
cairo.PS_LEVEL_2, cairo.PS_LEVEL_3

Other changes:
test/pygame-test1.py, test/pygame-test2.py : pygame tests

examples/cairo_snippets/snippets/ellipse.py : Update
so line-width is a constant width in device-space not user-space

1.4.12

-------------------

General changes:
Pycairo 1.4.12 requires cairo 1.4.12 (or later).
requires Python 2.4 (or later).

Bug fixes:
* :fdobug:`10006`: update autogen.sh to support automake >= 1.10
* :fdobug:`13460`: use python-config to get python includes

Other changes:
* allow cairo.Context to be subclassed
* create a 'doc' subdirectory and start a FAQ file

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.