Flutter Engine
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 
8 #include "third_party/skia/include/core/SkMatrix.h"
10 
11 namespace flutter {
12 
13 SkMatrix ToSkMatrix(const tonic::Float64List& matrix4);
14 tonic::Float64List ToMatrix4(const SkMatrix& sk_matrix);
15 
16 } // namespace flutter
17 
18 #endif // FLUTTER_LIB_UI_PAINTING_MATRIX_H_
tonic::Float64List ToMatrix4(const SkMatrix &sk_matrix)
Definition: matrix.cc:34
SkMatrix ToSkMatrix(const tonic::Float64List &matrix4)
Definition: matrix.cc:20