projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated es_ES translation from Manuel AC.
[dcpomatic.git]
/
src
/
lib
/
pixel_quanta.cc
diff --git
a/src/lib/pixel_quanta.cc
b/src/lib/pixel_quanta.cc
index 09e6840645cf7d967a05b9dddbbbb92aaf2f84e1..7c1d285cffd3d0c1b55b0384f73cc582b10cd135 100644
(file)
--- a/
src/lib/pixel_quanta.cc
+++ b/
src/lib/pixel_quanta.cc
@@
-53,6
+53,13
@@
PixelQuanta::round_y (int y_) const
}
+dcp::Size
+PixelQuanta::round (dcp::Size size) const
+{
+ return dcp::Size (round_x(size.width), round_y(size.height));
+}
+
+
PixelQuanta
max (PixelQuanta const& a, PixelQuanta const& b)
{