Flutter Impeller
flags.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_IMPELLER_BASE_FLAGS_H_
6 #define FLUTTER_IMPELLER_BASE_FLAGS_H_
7 
8 namespace impeller {
9 struct Flags {
10  /// When turned on DrawLine will use the experimental antialiased path.
11  bool antialiased_lines = false;
12  /// Use SDFs for rendering.
13  bool use_sdfs = false;
14 
15  bool operator==(const Flags&) const = default;
16 };
17 } // namespace impeller
18 
19 #endif // FLUTTER_IMPELLER_BASE_FLAGS_H_
bool antialiased_lines
When turned on DrawLine will use the experimental antialiased path.
Definition: flags.h:11
bool use_sdfs
Use SDFs for rendering.
Definition: flags.h:13
bool operator==(const Flags &) const =default