aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/graphics/quartz/Convert.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-08-21 23:15:43 +0800
committercrupest <crupest@outlook.com>2021-08-21 23:15:43 +0800
commitc0616e3892e4f713bea7abd217191b8713a1d1bf (patch)
treefd1baef5d9752b36a065a2e9677b46676f60c0f9 /include/cru/osx/graphics/quartz/Convert.hpp
parente2e8ba559b0e7a797c083684b382ac4cbb2fdd5f (diff)
downloadcru-c0616e3892e4f713bea7abd217191b8713a1d1bf.tar.gz
cru-c0616e3892e4f713bea7abd217191b8713a1d1bf.tar.bz2
cru-c0616e3892e4f713bea7abd217191b8713a1d1bf.zip
...
Diffstat (limited to 'include/cru/osx/graphics/quartz/Convert.hpp')
-rw-r--r--include/cru/osx/graphics/quartz/Convert.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/cru/osx/graphics/quartz/Convert.hpp b/include/cru/osx/graphics/quartz/Convert.hpp
new file mode 100644
index 00000000..9706dc00
--- /dev/null
+++ b/include/cru/osx/graphics/quartz/Convert.hpp
@@ -0,0 +1,9 @@
+#pragma once
+#include "cru/platform/Matrix.hpp"
+
+#include <CoreGraphics/CoreGraphics.h>
+
+namespace cru::platform::graphics::osx::quartz {
+ CGAffineTransform Convert(const Matrix& matrix);
+ Matrix Convert(const CGAffineTransform& matrix);
+}