From 70b72b53eab0f247eb4dc605a2d669d4adb4e469 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 3 Oct 2021 20:53:44 +0200 Subject: Differentiate requested and actual crop. This is so we limit cropping to what is possible considering chroma subsampling. --- src/lib/pixel_quanta.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/pixel_quanta.h') diff --git a/src/lib/pixel_quanta.h b/src/lib/pixel_quanta.h index e4a03c9d2..c37ba189b 100644 --- a/src/lib/pixel_quanta.h +++ b/src/lib/pixel_quanta.h @@ -52,6 +52,9 @@ public: void as_xml (xmlpp::Element* node) const; + int round_x (int x_) const; + int round_y (int y_) const; + int x; int y; }; -- cgit v1.2.3