aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/graphics/quartz/Convert.hpp
blob: f217e5499cd483dfe26f528f7a62588f36ed88fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "cru/platform/Matrix.hpp"

#include <CoreGraphics/CoreGraphics.h>

namespace cru::platform::graphics::osx::quartz {
CFStringRef Convert(const String& string);
String Convert(CFStringRef string);

CGAffineTransform Convert(const Matrix& matrix);
Matrix Convert(const CGAffineTransform& matrix);

CGRect Convert(const Rect& rect);
Rect Convert(const CGRect& rect);
}  // namespace cru::platform::graphics::osx::quartz