summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-02 22:33:27 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-02 22:33:27 +0000
commit989f182558193a51e0a26603fb2ca59f827216a0 (patch)
tree7d2b2511967e5417838a4343341e5aa9d26cf2b8 /src/util.h
parent0d7fe66361a40702cb97357955cf35256f1d2c26 (diff)
Remove Image and ARGBImage and just dump RGB data into
uint8_t* buffers. This is hopefully simpler than trying to come up with some Image hierarchy that suits everything.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/util.h b/src/util.h
index 5bc3a78d..dbcec78c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -43,29 +43,6 @@ class ARGBImage;
class CertificateChain;
class GammaLUT;
class XYZImage;
-
-/** @struct Size
- * @brief The integer, two-dimensional size of something.
- */
-struct Size
-{
- Size ()
- : width (0)
- , height (0)
- {}
-
- Size (int w, int h)
- : width (w)
- , height (h)
- {}
-
- float ratio () const {
- return float (width) / height;
- }
-
- int width;
- int height;
-};
extern bool operator== (Size const & a, Size const & b);
extern bool operator!= (Size const & a, Size const & b);