blob: f85fc20eacef85827fd72b722290cd41dcc75221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "cru/platform/Matrix.hpp"
#include "cru/common/String.hpp"
#include "cru/common/Range.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);
CFRange Convert(const Range& range);
Range Convert(const CFRange& range);
} // namespace cru::platform::graphics::osx::quartz
|