diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-11-11 00:04:02 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-11-11 00:04:02 +0000 |
| commit | 58f0530b1687673ea6e24a083063c3fdf2bff0b2 (patch) | |
| tree | 1f76acad0a2877e527c936f754dde16eaf2d768e /src/lib/ratio.h | |
| parent | 985a83ffbf251db481150221914ef74fbfe549b2 (diff) | |
Hand-apply 80562fe5dce5fd625da583ca6f7c2833f9db8754 from master (remove default scale and use a scale guessed from the content's size and sample aspect ratio).
Diffstat (limited to 'src/lib/ratio.h')
| -rw-r--r-- | src/lib/ratio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ratio.h b/src/lib/ratio.h index 69e3726c8..f1a180d8f 100644 --- a/src/lib/ratio.h +++ b/src/lib/ratio.h @@ -53,6 +53,7 @@ public: static void setup_ratios (); static Ratio const * from_id (std::string i); static Ratio const * from_ratio (float r); + static Ratio const * nearest_from_ratio (float r); static std::vector<Ratio const *> all () { return _ratios; } |
