Add uniform relative sizing method to framing tool

This commit is contained in:
Daniel Gao
2024-11-18 15:24:15 -05:00
parent bbb3efd81d
commit 45bde1c999
5 changed files with 104 additions and 10 deletions

View File

@@ -2001,8 +2001,9 @@ struct FramingParams {
// How to size border?
enum class BorderSizing {
PERCENTAGE, // Percentage of image size
FIXED_SIZE // Fixed pixel dimensions
PERCENTAGE, // Percentage of image size
UNIFORM_PERCENTAGE, // Percentage of image size (ignore aspect ratio)
FIXED_SIZE // Fixed pixel dimensions
};
// Which dimension to use for percentage based border sizing?