From b031783e845abf89f9fe9c39afeb63cfa1a037d2 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sat, 25 Jan 2025 04:10:09 +0100 Subject: [PATCH] Spell "neighbor" without a 'u' --- pixmappaint.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixmappaint.d b/pixmappaint.d index 5c101cd..a105be3 100644 --- a/pixmappaint.d +++ b/pixmappaint.d @@ -2869,7 +2869,7 @@ PixmapBlueprint flipVerticallyCalcDims(const Pixmap source) @nogc { Works well with photos. For pixel graphics the retro look of `nearest` (as - in $(I nearest neighbour)) is usually the option of choice. + in $(I nearest neighbor)) is usually the option of choice. ) $(NOTE @@ -2881,7 +2881,7 @@ PixmapBlueprint flipVerticallyCalcDims(const Pixmap source) @nogc { +/ enum ScalingFilter { /++ - Nearest neighbour interpolation + Nearest neighbor interpolation Also known as $(B proximal interpolation) and $(B point sampling). @@ -2944,7 +2944,7 @@ private void scaleToImpl(ScalingFilter filter)(const Pixmap source, Pixmap targe (UDecimal(source.height) / target.height), ]; - // ==== Nearest Neighbour ==== + // ==== Nearest Neighbor ==== static if (filter == ScalingFilter.nearest) { Point translate(const Point dstPos) {