aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/cairo/CairoGeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/graphics/cairo/CairoGeometry.cpp')
-rw-r--r--src/platform/graphics/cairo/CairoGeometry.cpp6
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) {