summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index f214d411f..dc766252d 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -70,24 +70,9 @@ public:
return _state.name;
}
- /** @return number of pixels to crop from the top of the original picture */
- int top_crop () const {
- return _state.top_crop;
- }
-
- /** @return number of pixels to crop from the bottom of the original picture */
- int bottom_crop () const {
- return _state.bottom_crop;
- }
-
- /** @return number of pixels to crop from the left-hand side of the original picture */
- int left_crop () const {
- return _state.left_crop;
- }
-
- /** @return number of pixels to crop from the right-hand side of the original picture */
- int right_crop () const {
- return _state.right_crop;
+ /** @return number of pixels to crop from the sides of the original picture */
+ Crop crop () const {
+ return _state.crop;
}
/** @return the format to present this film in (flat, scope, etc.) */
@@ -219,10 +204,7 @@ public:
CONTENT,
DCP_CONTENT_TYPE,
FORMAT,
- LEFT_CROP,
- RIGHT_CROP,
- TOP_CROP,
- BOTTOM_CROP,
+ CROP,
FILTERS,
SCALER,
DCP_FRAMES,