Flutter Engine
Loading...
Searching...
No Matches
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
class
TransformLayer
:
public
ContainerLayer
{
13
public
:
14
explicit
TransformLayer
(
const
DlMatrix
&
transform
);
15
16
void
Diff
(
DiffContext
* context,
const
Layer
* old_layer)
override
;
17
18
void
Preroll
(
PrerollContext
* context)
override
;
19
20
void
Paint
(
PaintContext
& context)
const override
;
21
22
private
:
23
DlMatrix
transform_;
24
25
FML_DISALLOW_COPY_AND_ASSIGN
(
TransformLayer
);
26
};
27
28
}
// namespace flutter
29
30
#endif
// FLUTTER_FLOW_LAYERS_TRANSFORM_LAYER_H_
flutter::ContainerLayer
Definition
container_layer.h:14
flutter::DiffContext
Definition
diff_context.h:41
flutter::Layer
Definition
layer.h:113
flutter::TransformLayer
Definition
transform_layer.h:12
flutter::TransformLayer::Diff
void Diff(DiffContext *context, const Layer *old_layer) override
Definition
transform_layer.cc:20
flutter::TransformLayer::Preroll
void Preroll(PrerollContext *context) override
Definition
transform_layer.cc:34
container_layer.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
transform
Matrix transform
Definition
gaussian_blur_filter_contents.cc:214
flutter
Definition
asset_manager.cc:10
flutter::PaintContext
Definition
layer.h:78
flutter::PrerollContext
Definition
layer.h:45
impeller::Matrix
A 4x4 matrix using column-major storage.
Definition
matrix.h:37
impeller::Paint
Definition
paint.h:27
flow
layers
transform_layer.h
Generated on Wed Nov 5 2025 21:33:11 for Flutter Engine by
1.9.8