#include <dl_op_flags.h>
Public Member Functions | |
| const DisplayListSpecialGeometryFlags | GeometryFlags (bool is_stroked) const |
| constexpr bool | ignores_paint () const |
| constexpr bool | applies_anti_alias () const |
| constexpr bool | applies_color () const |
| constexpr bool | applies_alpha () const |
| constexpr bool | applies_alpha_or_color () const |
| constexpr bool | applies_style () const |
| constexpr bool | applies_shader () const |
| constexpr bool | applies_color_filter () const |
| constexpr bool | applies_blend () const |
| The primitive honors the DlBlendMode. | |
| constexpr bool | applies_mask_filter () const |
| constexpr bool | applies_image_filter () const |
| constexpr bool | is_geometric () const |
| constexpr bool | always_stroked () const |
| constexpr bool | is_stroked (DlDrawStyle style=DlDrawStyle::kStroke) const |
| constexpr bool | is_flood () const |
| constexpr bool | operator== (DisplayListAttributeFlags const &other) const |
Friends | |
| class | DisplayListOpFlags |
Definition at line 163 of file dl_op_flags.h.
|
inlineconstexpr |
Definition at line 209 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kIsStrokedGeometry.
Referenced by flutter::testing::AnnotateAttributes().
|
inlineconstexpr |
Definition at line 173 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesAlpha.
|
inlineconstexpr |
Definition at line 174 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), flutter::DisplayListFlags::kUsesAlpha, and flutter::DisplayListFlags::kUsesColor.
Referenced by flutter::Paint::paint().
|
inlineconstexpr |
Definition at line 171 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesAntiAlias.
Referenced by flutter::testing::AnnotateAttributes(), flutter::Paint::paint(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
The primitive honors the DlBlendMode.
Definition at line 198 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesBlend.
Referenced by flutter::Paint::paint(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
Definition at line 172 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesColor.
Referenced by flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
The primitive honors the current DlColorFilter, including the related attribute InvertColors
Definition at line 194 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesColorFilter.
Referenced by flutter::Paint::paint(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
Definition at line 204 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesImageFilter.
Referenced by flutter::Paint::paint(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
The primitive honors the DlMaskFilter whether set using the filter object or using the convenience method |setMaskBlurFilter|
Definition at line 201 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesMaskFilter.
Referenced by flutter::Paint::paint(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
The primitive can use any of the stroke attributes, such as StrokeWidth, StrokeMiter, StrokeCap, or StrokeJoin. This method will return if the primitive is defined as one that strokes its geometry (such as |drawLine|) or if it is defined as one that honors the Style attribute. If the Style attribute is known then a more accurate answer can be returned from the |is_stroked| method by supplying the actual setting of the style.
Definition at line 191 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kUsesShader.
Referenced by flutter::Paint::paint(), flutter::testing::TestParameters::should_match(), and flutter::testing::TestParameters::uses_gradient().
|
inlineconstexpr |
The primitive dynamically determines whether it is a stroke or fill operation (or both) based on the setting of the |Style| attribute.
Definition at line 180 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kIsDrawnGeometry.
Referenced by flutter::testing::AnnotateAttributes(), and flutter::Paint::paint().
|
inline |
Definition at line 165 of file dl_op_flags.h.
Referenced by flutter::testing::TestParameters::lineAdjust(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
Definition at line 169 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kIgnoresPaint.
Referenced by flutter::testing::TestParameters::should_match(), and flutter::testing::TestParameters::uses_paint().
|
inlineconstexpr |
Definition at line 215 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kFloodsSurface.
Referenced by flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
Definition at line 208 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kIsAnyGeometryMask.
|
inlineconstexpr |
Definition at line 210 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), flutter::kFill, flutter::DisplayListFlags::kIsDrawnGeometry, and flutter::DisplayListFlags::kIsStrokedGeometry.
Referenced by flutter::Paint::paint(), and flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
Definition at line 217 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::flags_.
|
friend |
Definition at line 246 of file dl_op_flags.h.