diff options
author | crupest <crupest@outlook.com> | 2022-05-24 23:14:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-24 23:14:45 +0800 |
commit | ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1 (patch) | |
tree | 63b07dc8674afd7ec99380e121eca0f1762ae11e /include/cru/platform/graphics/cairo/Base.h | |
parent | ae0694c91602fa1cd278394132bc1320c00deba8 (diff) | |
download | cru-ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1.tar.gz cru-ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1.tar.bz2 cru-ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1.zip |
...
Diffstat (limited to 'include/cru/platform/graphics/cairo/Base.h')
-rw-r--r-- | include/cru/platform/graphics/cairo/Base.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/cairo/Base.h b/include/cru/platform/graphics/cairo/Base.h index 7e8eeaa1..a776f90c 100644 --- a/include/cru/platform/graphics/cairo/Base.h +++ b/include/cru/platform/graphics/cairo/Base.h @@ -9,3 +9,13 @@ #else #define CRU_PLATFORM_GRAPHICS_CAIRO_API #endif + +#include <cairo/cairo.h> + +#include "../Base.h" + +namespace cru::platform::graphics::cairo { +cairo_matrix_t CRU_PLATFORM_GRAPHICS_CAIRO_API Convert(const Matrix& matrix); +Matrix CRU_PLATFORM_GRAPHICS_CAIRO_API Convert(const cairo_matrix_t* matrix); +Matrix CRU_PLATFORM_GRAPHICS_CAIRO_API Convert(const cairo_matrix_t& matrix); +} // namespace cru::platform::graphics::cairo |