We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18399a5 commit 4234b34Copy full SHA for 4234b34
impeller/aiks/canvas.cc
@@ -53,6 +53,10 @@ void Canvas::Concat(const Matrix& xformation) {
53
xformation_stack_.back().xformation = xformation * GetCurrentTransformation();
54
}
55
56
+void Canvas::Transform(const Matrix& xformation) {
57
+ Concat(xformation);
58
+}
59
+
60
const Matrix& Canvas::GetCurrentTransformation() const {
61
return xformation_stack_.back().xformation;
62
impeller/aiks/canvas.h
@@ -41,6 +41,8 @@ class Canvas {
41
42
const Matrix& GetCurrentTransformation() const;
43
44
+ void Transform(const Matrix& xformation);
45
46
void Concat(const Matrix& xformation);
47
48
void Translate(const Vector3& offset);
0 commit comments