diff options
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 |