diff options
author | crupest <crupest@outlook.com> | 2019-04-01 18:08:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-01 18:08:58 +0800 |
commit | de00126c6aeba189a50296df455dd516e21e4176 (patch) | |
tree | 3d89a8a36a3603096d4371230c2d071f91e9e986 /include/cru/platform/painter.hpp | |
parent | 055a3cde0cd19c896f3e498b774078654555c065 (diff) | |
download | cru-de00126c6aeba189a50296df455dd516e21e4176.tar.gz cru-de00126c6aeba189a50296df455dd516e21e4176.tar.bz2 cru-de00126c6aeba189a50296df455dd516e21e4176.zip |
...
Diffstat (limited to 'include/cru/platform/painter.hpp')
-rw-r--r-- | include/cru/platform/painter.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/platform/painter.hpp b/include/cru/platform/painter.hpp index 77ca5098..2e979184 100644 --- a/include/cru/platform/painter.hpp +++ b/include/cru/platform/painter.hpp @@ -2,12 +2,15 @@ #include "cru/common/base.hpp" #include "cru/common/ui_base.hpp" +#include "matrix.hpp" namespace cru::platform { struct Brush; struct Geometry; struct Painter : virtual Interface { + virtual Matrix GetTransform() = 0; + virtual void SetTransform(const Matrix& matrix) = 0; virtual void StrokeGeometry(Geometry* geometry, Brush* brush, float width) = 0; virtual void FillGeometry(Geometry* geometry, Brush* brush) = 0; |