Flutter Engine
 
Loading...
Searching...
No Matches
clip_path_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_CLIP_PATH_LAYER_H_
6#define FLUTTER_FLOW_LAYERS_CLIP_PATH_LAYER_H_
7
9
11
12namespace flutter {
13
14class ClipPathLayer : public ClipShapeLayer<DlPath> {
15 public:
16 explicit ClipPathLayer(const DlPath& clip_path,
18
19 protected:
20 const DlRect clip_shape_bounds() const override;
21
22 void ApplyClip(LayerStateStack::MutatorContext& mutator) const override;
23
24 private:
26};
27
28} // namespace flutter
29
30#endif // FLUTTER_FLOW_LAYERS_CLIP_PATH_LAYER_H_
void ApplyClip(LayerStateStack::MutatorContext &mutator) const override
const DlRect clip_shape_bounds() const override
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27
@ kAntiAlias
Definition layer.h:43