From 359edb26ff3d85e050aca066d40f693bfcb37e56 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sun, 6 Oct 2024 04:04:20 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Remove=20unnecessary=20=E2=80=9Cthe?= =?UTF-8?q?=E2=80=9D=20from=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pixmappresenter.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixmappresenter.d b/pixmappresenter.d index fa9269a..b93bd04 100644 --- a/pixmappresenter.d +++ b/pixmappresenter.d @@ -103,7 +103,7 @@ // always have a size that is a // multiple of the internal // resolution. - // The gentle reader might have noticed that the integer scaling will result + // The gentle reader might have noticed that integer scaling will result // in a padding/border area around the image for most window sizes. // How about changing its color? cfg.renderer.background = ColorF(Pixel.white); From 334ccb42ce25b1370ad6b3e5da84ca35e895040b Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sun, 6 Oct 2024 04:04:53 +0200 Subject: [PATCH 2/2] Mention `Scaling.intHybrid` in code example --- pixmappresenter.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pixmappresenter.d b/pixmappresenter.d index b93bd04..edc97f4 100644 --- a/pixmappresenter.d +++ b/pixmappresenter.d @@ -103,6 +103,8 @@ // always have a size that is a // multiple of the internal // resolution. + // → Also check out the + // `intHybrid` scaling mode. // The gentle reader might have noticed that integer scaling will result // in a padding/border area around the image for most window sizes. // How about changing its color?