aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/graphics/quartz/Image.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/osx/graphics/quartz/Image.hpp')
-rw-r--r--include/cru/osx/graphics/quartz/Image.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cru/osx/graphics/quartz/Image.hpp b/include/cru/osx/graphics/quartz/Image.hpp
index 16b1ca2c..62b7fa8b 100644
--- a/include/cru/osx/graphics/quartz/Image.hpp
+++ b/include/cru/osx/graphics/quartz/Image.hpp
@@ -17,9 +17,15 @@ class QuartzImage : public OsxQuartzResource, public virtual IImage {
~QuartzImage() override;
public:
+ float GetWidth() override;
+ float GetHeight() override;
+
+ std::unique_ptr<IImage> CreateWithRect(const Rect& rect) override;
+
CGImageRef GetCGImage() const { return image_; }
private:
+ IImageFactory* image_factory_;
CGImageRef image_;
bool auto_release_ = false;
};