Fix font_id_map errors when importing DCP subtitles that have no
[dcpomatic.git] / src / lib / pixel_quanta.h
index c37ba189bb34895696d5a3a8b8656619f363678b..37d2321f45b8474caeb777e2fe3cd4247f838b2a 100644 (file)
 #define DCPOMATIC_PIXEL_QUANTA_H
 
 
-#include "warnings.h"
-
 #include <libcxml/cxml.h>
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/types.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 
 
 class PixelQuanta
@@ -54,6 +54,7 @@ public:
 
        int round_x (int x_) const;
        int round_y (int y_) const;
+       dcp::Size round (dcp::Size size) const;
 
        int x;
        int y;