Opened 7 years ago

Closed 7 years ago

#9522 closed enhancement (fixed)

pycairo-1.15.0 (python module)

Reported by: bdubbs@… Owned by: bdubbs@…
Priority: normal Milestone: 8.1
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by bdubbs@…, 7 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:2 by bdubbs@…, 7 years ago

1.15.0 - 2017-07-24

New Features:

  • Add :meth:Surface.map_to_image and :meth:Surface.unmap_image :bug:51
  • Add :class:RasterSourcePattern :bug:48
  • Add :class:Glyph :bug:53
  • Add :class:Rectangle :bug:54
  • Add :class:TextCluster :bug:61
  • Add :meth:ScaledFont.text_to_glyphs and :meth:ScaledFont.glyph_extents
  • Add :meth:Context.show_text_glyphs
  • Add :class:TextExtents :bug:62

Changes:

  • Pycairo instances wrapping the same underlying cairo object now hash and compare equally e.g. context.get_target() == context.get_target()
  • Functions which returned a cairo error with :attr:Status.NO_MEMORY no longer raise :exc:python3:MemoryError, but a subclass of :exc:Error and :exc:python3:MemoryError. Similarly errors with :attr:Status.READ_ERROR and :attr:Status.WRITE_ERROR no longer raise :exc:python3:IOError, but a subclass of :exc:Error and :exc:python3:IOError. :bug:55
  • Some functions which previously returned a tuple now return a tuple subclass like :class:Rectangle, :class:Glyph, :class:TextCluster and :class:TextExtents

comment:3 by bdubbs@…, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 18967.

Note: See TracTickets for help on using tickets.