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 /src/platform/graphics/cairo/CairoGeometry.cpp | |
parent | ae0694c91602fa1cd278394132bc1320c00deba8 (diff) | |
download | cru-ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1.tar.gz cru-ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1.tar.bz2 cru-ad4f06c133dc0475ef6a98cac0fa97f6e0527bf1.zip |
...
Diffstat (limited to 'src/platform/graphics/cairo/CairoGeometry.cpp')
-rw-r--r-- | src/platform/graphics/cairo/CairoGeometry.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/platform/graphics/cairo/CairoGeometry.cpp b/src/platform/graphics/cairo/CairoGeometry.cpp index 7abe273c..43ba08d8 100644 --- a/src/platform/graphics/cairo/CairoGeometry.cpp +++ b/src/platform/graphics/cairo/CairoGeometry.cpp @@ -3,9 +3,11 @@ namespace cru::platform::graphics::cairo { CairoGeometry::CairoGeometry(CairoGraphicsFactory* factory, - cairo_path_t* cairo_path, bool auto_destroy) + cairo_path_t* cairo_path, const Matrix& transform, + bool auto_destroy) : CairoResource(factory), cairo_path_(cairo_path), + transform_(transform), auto_destroy_(auto_destroy) { Expects(cairo_path); } @@ -39,7 +41,7 @@ Rect CairoGeometry::GetBounds() { } std::unique_ptr<IGeometry> CairoGeometry::Transform(const Matrix& matrix) { - throw Exception(u"Not implemented"); + } std::unique_ptr<IGeometry> CairoGeometry::CreateStrokeGeometry(float width) { |