Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
matrix_decomposition.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_IMPELLER_GEOMETRY_MATRIX_DECOMPOSITION_H_
6#define FLUTTER_IMPELLER_GEOMETRY_MATRIX_DECOMPOSITION_H_
7
12
13namespace impeller {
14
21
22 enum class Component {
23 kTranslation = 1 << 0,
24 kScale = 1 << 1,
25 kShear = 1 << 2,
26 kPerspective = 1 << 3,
27 kRotation = 1 << 4,
28 };
29
30 uint64_t GetComponentsMask() const;
31};
32
33} // namespace impeller
34
35#endif // FLUTTER_IMPELLER_GEOMETRY_MATRIX_DECOMPOSITION_H_
uint64_t GetComponentsMask() const
Definition matrix.cc:370