Overview of changes from pycairo 1.8.0 to pycairo 1.8.2
=======================================================
Pycairo 1.8.0 resulted in crashes for some applications using threads. So
upgrading to 1.8.2 is recommended for threaded applications.
Bug Fixes: #19287: Threading support results in crashes in cairo.ImageSurface
New Methods:
Context.set_scaled_font
API Changes:
Matrix multiplication:
old code: matrix3 = matrix1 * matrix2
new equivalent code: matrix3 = matrix1.multiply(matrix2)
matrix3 = matrix1 * matrix2
is now equivalent to matrix3 = matrix2.multiply(matrix1)
which is consistent with standard matrix multiplication.
Overview of changes from pycairo 1.6.4 to pycairo 1.8.0
=======================================================
General Changes:
Pycairo 1.8.0 requires cairo 1.8.0 (or later).
Add documentation (available separately)
Bug Fixes:
18101: Add support for threading
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
#18947.
Other Changes:
Allow unknown cairo Pattern/Surface types to use the pycairo base
Pattern/Surface type.
changes:
-updated for newer cairo versions
-distutils support (unused in pkgsrc because broken)
-new example to demonstrate pattern masks
-cairo.svg module removed
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
PR pkg/33256.
Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window
System, win32, and image buffers. Experimental backends include OpenGL
(through glitz), Quartz, XCB, PostScript and PDF file output.
This package contains the Python bindings for Cairo.