Flutter Engine
 
Loading...
Searching...
No Matches
matrix.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_LIB_UI_PAINTING_MATRIX_H_
6#define FLUTTER_LIB_UI_PAINTING_MATRIX_H_
7
9
10#include "third_party/skia/include/core/SkM44.h"
11#include "third_party/skia/include/core/SkMatrix.h"
13
14namespace flutter {
15
16SkM44 ToSkM44(const tonic::Float64List& matrix4);
17SkMatrix ToSkMatrix(const tonic::Float64List& matrix4);
18DlMatrix ToDlMatrix(const tonic::Float64List& matrix4);
19tonic::Float64List ToMatrix4(const SkMatrix& sk_matrix);
20
21} // namespace flutter
22
23#endif // FLUTTER_LIB_UI_PAINTING_MATRIX_H_
SkMatrix sk_matrix
tonic::Float64List ToMatrix4(const SkMatrix &sk_matrix)
Definition matrix.cc:58
impeller::Matrix DlMatrix
SkMatrix ToSkMatrix(const DlMatrix &matrix)
DlMatrix ToDlMatrix(const SkMatrix &matrix)
SkM44 ToSkM44(const DlMatrix &matrix)