mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Merge pull request #6990 from radarhere/releasenotes
This commit is contained in:
commit
b4c2344199
|
@ -338,7 +338,7 @@ Methods
|
|||
:param fill: Color to use for the fill.
|
||||
:param width: The line width, in pixels.
|
||||
:param corners: A tuple of whether to round each corner,
|
||||
`(top_left, top_right, bottom_right, bottom_left)`.
|
||||
``(top_left, top_right, bottom_right, bottom_left)``.
|
||||
|
||||
.. versionadded:: 8.2.0
|
||||
|
||||
|
|
60
docs/releasenotes/9.5.0.rst
Normal file
60
docs/releasenotes/9.5.0.rst
Normal file
|
@ -0,0 +1,60 @@
|
|||
9.5.0
|
||||
-----
|
||||
|
||||
Backwards Incompatible Changes
|
||||
==============================
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
Deprecations
|
||||
============
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
API Changes
|
||||
===========
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
API Additions
|
||||
=============
|
||||
|
||||
Added ``dpi`` argument when saving PDFs
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
When saving a PDF, resolution could already be specified using the
|
||||
``resolution`` argument. Now, a tuple of ``(x_resolution, y_resolution)`` can
|
||||
be provided as ``dpi``. If both are provided, ``dpi`` will override
|
||||
``resolution``.
|
||||
|
||||
Added ``corners`` argument to ``ImageDraw.rounded_rectangle()``
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
:py:meth:`.ImageDraw.rounded_rectangle` now accepts a keyword argument of
|
||||
``corners``. This a tuple of Booleans, specifying whether to round each corner,
|
||||
``(top_left, top_right, bottom_right, bottom_left)``.
|
||||
|
||||
Security
|
||||
========
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
||||
|
||||
Other Changes
|
||||
=============
|
||||
|
||||
TODO
|
||||
^^^^
|
||||
|
||||
TODO
|
|
@ -14,6 +14,7 @@ expected to be backported to earlier versions.
|
|||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
9.5.0
|
||||
9.4.0
|
||||
9.3.0
|
||||
9.2.0
|
||||
|
|
Loading…
Reference in New Issue
Block a user