Flutter Engine
The Flutter Engine
Protected Member Functions | Protected Attributes | List of all members
flutter::DisplayListFlagsBase Class Reference

#include <dl_op_flags.h>

Inheritance diagram for flutter::DisplayListFlagsBase:
flutter::DisplayListFlags flutter::DisplayListAttributeFlags flutter::DisplayListSpecialGeometryFlags

Protected Member Functions

constexpr DisplayListFlagsBase (int flags)
 
constexpr bool has_any (int qFlags) const
 
constexpr bool has_all (int qFlags) const
 
constexpr bool has_none (int qFlags) const
 

Protected Attributes

const int flags_
 

Additional Inherited Members

- Static Protected Attributes inherited from flutter::DisplayListFlags
static constexpr int kIsNonGeometric = 0
 
static constexpr int kIsFilledGeometry = 1 << 0
 
static constexpr int kIsStrokedGeometry = 1 << 1
 
static constexpr int kIsDrawnGeometry = 1 << 2
 
static constexpr int kIsAnyGeometryMask
 
static constexpr int kFloodsSurface = 1 << 3
 
static constexpr int kMayHaveCaps = 1 << 4
 
static constexpr int kMayHaveJoins = 1 << 5
 
static constexpr int kButtCapIsSquare = 1 << 6
 
static constexpr int kMayHaveDiagonalCaps = 1 << 7
 
static constexpr int kMayHaveAcuteJoins = 1 << 8
 
static constexpr int kAnySpecialGeometryMask
 
static constexpr int kUsesAntiAlias = 1 << 10
 
static constexpr int kUsesAlpha = 1 << 11
 
static constexpr int kUsesColor = 1 << 12
 
static constexpr int kUsesBlend = 1 << 13
 
static constexpr int kUsesShader = 1 << 14
 
static constexpr int kUsesColorFilter = 1 << 15
 
static constexpr int kUsesMaskFilter = 1 << 16
 
static constexpr int kUsesImageFilter = 1 << 17
 
static constexpr int kIgnoresPaint = 1 << 30
 
static constexpr int kAnyAttributeMask
 

Detailed Description

Definition at line 106 of file dl_op_flags.h.

Constructor & Destructor Documentation

◆ DisplayListFlagsBase()

constexpr flutter::DisplayListFlagsBase::DisplayListFlagsBase ( int  flags)
inlineexplicitconstexprprotected

Definition at line 108 of file dl_op_flags.h.

108: flags_(flags) {}
FlutterSemanticsFlag flags

Member Function Documentation

◆ has_all()

constexpr bool flutter::DisplayListFlagsBase::has_all ( int  qFlags) const
inlineconstexprprotected

Definition at line 113 of file dl_op_flags.h.

113 {
114 return (flags_ & qFlags) == qFlags;
115 }

◆ has_any()

constexpr bool flutter::DisplayListFlagsBase::has_any ( int  qFlags) const
inlineconstexprprotected

Definition at line 112 of file dl_op_flags.h.

112{ return (flags_ & qFlags) != 0; }

◆ has_none()

constexpr bool flutter::DisplayListFlagsBase::has_none ( int  qFlags) const
inlineconstexprprotected

Definition at line 116 of file dl_op_flags.h.

116{ return (flags_ & qFlags) == 0; }

Member Data Documentation

◆ flags_

const int flutter::DisplayListFlagsBase::flags_
protected

Definition at line 110 of file dl_op_flags.h.


The documentation for this class was generated from the following file: