Skip to content

Commit b4c2344

Browse files
authored
Merge pull request #6990 from radarhere/releasenotes
2 parents 1da6ff3 + b9c772a commit b4c2344

File tree

3 files changed

+62
-1
lines changed

3 files changed

+62
-1
lines changed

docs/reference/ImageDraw.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Methods
338338
:param fill: Color to use for the fill.
339339
:param width: The line width, in pixels.
340340
:param corners: A tuple of whether to round each corner,
341-
`(top_left, top_right, bottom_right, bottom_left)`.
341+
``(top_left, top_right, bottom_right, bottom_left)``.
342342

343343
.. versionadded:: 8.2.0
344344

docs/releasenotes/9.5.0.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
9.5.0
2+
-----
3+
4+
Backwards Incompatible Changes
5+
==============================
6+
7+
TODO
8+
^^^^
9+
10+
TODO
11+
12+
Deprecations
13+
============
14+
15+
TODO
16+
^^^^
17+
18+
TODO
19+
20+
API Changes
21+
===========
22+
23+
TODO
24+
^^^^
25+
26+
TODO
27+
28+
API Additions
29+
=============
30+
31+
Added ``dpi`` argument when saving PDFs
32+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33+
34+
When saving a PDF, resolution could already be specified using the
35+
``resolution`` argument. Now, a tuple of ``(x_resolution, y_resolution)`` can
36+
be provided as ``dpi``. If both are provided, ``dpi`` will override
37+
``resolution``.
38+
39+
Added ``corners`` argument to ``ImageDraw.rounded_rectangle()``
40+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
41+
42+
:py:meth:`.ImageDraw.rounded_rectangle` now accepts a keyword argument of
43+
``corners``. This a tuple of Booleans, specifying whether to round each corner,
44+
``(top_left, top_right, bottom_right, bottom_left)``.
45+
46+
Security
47+
========
48+
49+
TODO
50+
^^^^
51+
52+
TODO
53+
54+
Other Changes
55+
=============
56+
57+
TODO
58+
^^^^
59+
60+
TODO

docs/releasenotes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ expected to be backported to earlier versions.
1414
.. toctree::
1515
:maxdepth: 2
1616

17+
9.5.0
1718
9.4.0
1819
9.3.0
1920
9.2.0

0 commit comments

Comments
 (0)