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
9
10namespace flutter {
11
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
26};
27
28} // namespace flutter
29
30#endif // FLUTTER_FLOW_LAYERS_TRANSFORM_LAYER_H_
void Diff(DiffContext *context, const Layer *old_layer) override
void Preroll(PrerollContext *context) override
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27
A 4x4 matrix using column-major storage.
Definition matrix.h:37