diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-03 20:53:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-03 23:41:02 +0200 |
| commit | 70b72b53eab0f247eb4dc605a2d669d4adb4e469 (patch) | |
| tree | af117017f084fc2fedf0e2eaad667cda7d832b64 /src/lib/pixel_quanta.h | |
| parent | c2a17a87868eba87072fc369102b2b3cd8905e5a (diff) | |
Differentiate requested and actual crop.
This is so we limit cropping to what is possible considering
chroma subsampling.
Diffstat (limited to 'src/lib/pixel_quanta.h')
| -rw-r--r-- | src/lib/pixel_quanta.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; }; |
