Consistently use "coordinates" instead of "co-ordinates"

Co-authored-by: mokashang <mokashang@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2026-05-13 19:13:21 +10:00
parent 9289863c2c
commit 381e264e18
3 changed files with 4 additions and 4 deletions

View File

@ -365,7 +365,7 @@ def test_rotated_transposed_font(
bbox_b[2] - bbox_b[0],
)
# Check top left co-ordinates are correct
# Check top left coordinates are correct
assert bbox_b[:2] == (20, 20)
# text length is undefined for vertical text
@ -410,7 +410,7 @@ def test_unrotated_transposed_font(
bbox_b[3] - bbox_b[1],
)
# Check top left co-ordinates are correct
# Check top left coordinates are correct
assert bbox_b[:2] == (20, 20)
assert length_a == length_b

View File

@ -81,7 +81,7 @@ Image.alpha_composite: dest
^^^^^^^^^^^^^^^^^^^^^^^^^^^
When calling :py:meth:`~PIL.Image.Image.alpha_composite`, the ``dest`` argument now
accepts negative co-ordinates, like the upper left corner of the ``box`` argument of
accepts negative coordinates, like the upper left corner of the ``box`` argument of
:py:meth:`~PIL.Image.Image.paste` can be negative. Naturally, this has effect of
cropping the overlaid image.

View File

@ -812,7 +812,7 @@ j2k_decode_entry(Imaging im, ImagingCodecState state) {
break;
}
/* Adjust the tile co-ordinates based on the reduction (OpenJPEG
/* Adjust the tile coordinates based on the reduction (OpenJPEG
doesn't do this for us) */
tile_info.x0 = (tile_info.x0 + correction) >> context->reduce;
tile_info.y0 = (tile_info.y0 + correction) >> context->reduce;