Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
flow
layers
transform_layer.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_FLOW_LAYERS_TRANSFORM_LAYER_H_
6
#define FLUTTER_FLOW_LAYERS_TRANSFORM_LAYER_H_
7
8
#include "flutter/flow/layers/container_layer.h"
9
10
namespace
flutter
{
11
12
// Be careful that SkMatrix's default constructor doesn't initialize the matrix
13
// at all. Hence |set_transform| must be called with an initialized SkMatrix.
14
class
TransformLayer
:
public
ContainerLayer
{
15
public
:
16
explicit
TransformLayer
(
const
SkMatrix
&
transform
)
17
:
TransformLayer
(
SkM44
(
transform
)) {}
18
explicit
TransformLayer
(
const
SkM44
&
transform
);
19
20
void
Diff
(
DiffContext
* context,
const
Layer
* old_layer)
override
;
21
22
void
Preroll
(
PrerollContext
* context)
override
;
23
24
void
Paint
(
PaintContext
& context)
const override
;
25
26
private
:
27
SkM44
transform_;
28
29
FML_DISALLOW_COPY_AND_ASSIGN(
TransformLayer
);
30
};
31
32
}
// namespace flutter
33
34
#endif
// FLUTTER_FLOW_LAYERS_TRANSFORM_LAYER_H_
SkM44
Definition:
SkM44.h:150
SkMatrix
Definition:
SkMatrix.h:54
flutter::ContainerLayer
Definition:
container_layer.h:14
flutter::DiffContext
Definition:
diff_context.h:44
flutter::Layer
Definition:
layer.h:127
flutter::TransformLayer
Definition:
transform_layer.h:14
flutter::TransformLayer::Diff
void Diff(DiffContext *context, const Layer *old_layer) override
Definition:
transform_layer.cc:28
flutter::TransformLayer::Preroll
void Preroll(PrerollContext *context) override
Definition:
transform_layer.cc:42
flutter::TransformLayer::Paint
void Paint(PaintContext &context) const override
Definition:
transform_layer.cc:68
flutter::TransformLayer::TransformLayer
TransformLayer(const SkMatrix &transform)
Definition:
transform_layer.h:16
flutter
Definition:
asset_manager.cc:10
transform
static SkColor4f transform(SkColor4f c, SkColorSpace *src, SkColorSpace *dst)
Definition:
p3.cpp:47
flutter::PaintContext
Definition:
layer.h:88
flutter::PrerollContext
Definition:
layer.h:55
Generated on Sun Jun 23 2024 21:54:57 for Flutter Engine by
1.9.4