diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-02-02 22:33:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-02-02 22:33:27 +0000 |
| commit | 989f182558193a51e0a26603fb2ca59f827216a0 (patch) | |
| tree | 7d2b2511967e5417838a4343341e5aa9d26cf2b8 /src/util.h | |
| parent | 0d7fe66361a40702cb97357955cf35256f1d2c26 (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.h | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -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); |
