#include <dl_op_flags.h>
Definition at line 165 of file dl_op_flags.h.
◆ always_stroked()
constexpr bool flutter::DisplayListAttributeFlags::always_stroked |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 214 of file dl_op_flags.h.
constexpr bool has_any(int qFlags) const
static constexpr int kIsStrokedGeometry
◆ applies_alpha()
constexpr bool flutter::DisplayListAttributeFlags::applies_alpha |
( |
| ) |
const |
|
inlineconstexpr |
◆ applies_alpha_or_color()
constexpr bool flutter::DisplayListAttributeFlags::applies_alpha_or_color |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 176 of file dl_op_flags.h.
176 {
178 }
static constexpr int kUsesColor
◆ applies_anti_alias()
constexpr bool flutter::DisplayListAttributeFlags::applies_anti_alias |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 173 of file dl_op_flags.h.
static constexpr int kUsesAntiAlias
◆ applies_blend()
constexpr bool flutter::DisplayListAttributeFlags::applies_blend |
( |
| ) |
const |
|
inlineconstexpr |
The primitive honors the DlBlendMode.
Definition at line 200 of file dl_op_flags.h.
static constexpr int kUsesBlend
◆ applies_color()
constexpr bool flutter::DisplayListAttributeFlags::applies_color |
( |
| ) |
const |
|
inlineconstexpr |
◆ applies_color_filter()
constexpr bool flutter::DisplayListAttributeFlags::applies_color_filter |
( |
| ) |
const |
|
inlineconstexpr |
The primitive honors the current DlColorFilter, including the related attribute InvertColors
Definition at line 196 of file dl_op_flags.h.
196 {
198 }
static constexpr int kUsesColorFilter
◆ applies_image_filter()
constexpr bool flutter::DisplayListAttributeFlags::applies_image_filter |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 209 of file dl_op_flags.h.
209 {
211 }
static constexpr int kUsesImageFilter
◆ applies_mask_filter()
constexpr bool flutter::DisplayListAttributeFlags::applies_mask_filter |
( |
| ) |
const |
|
inlineconstexpr |
The primitive honors the DlMaskFilter whether set using the filter object or using the convenience method |setMaskBlurFilter|
Definition at line 206 of file dl_op_flags.h.
206 {
208 }
static constexpr int kUsesMaskFilter
◆ applies_path_effect()
constexpr bool flutter::DisplayListAttributeFlags::applies_path_effect |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 201 of file dl_op_flags.h.
201 {
203 }
static constexpr int kUsesPathEffect
◆ applies_shader()
constexpr bool flutter::DisplayListAttributeFlags::applies_shader |
( |
| ) |
const |
|
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 193 of file dl_op_flags.h.
static constexpr int kUsesShader
◆ applies_style()
constexpr bool flutter::DisplayListAttributeFlags::applies_style |
( |
| ) |
const |
|
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 182 of file dl_op_flags.h.
static constexpr int kIsDrawnGeometry
◆ ignores_paint()
constexpr bool flutter::DisplayListAttributeFlags::ignores_paint |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 171 of file dl_op_flags.h.
static constexpr int kIgnoresPaint
◆ is_flood()
constexpr bool flutter::DisplayListAttributeFlags::is_flood |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 220 of file dl_op_flags.h.
static constexpr int kFloodsSurface
◆ is_geometric()
constexpr bool flutter::DisplayListAttributeFlags::is_geometric |
( |
| ) |
const |
|
inlineconstexpr |
Definition at line 213 of file dl_op_flags.h.
static constexpr int kIsAnyGeometryMask
◆ is_stroked()
Definition at line 215 of file dl_op_flags.h.
215 {
218 }
@ kFill
fills interior of shapes
◆ operator==()
◆ WithPathEffect()
Definition at line 10 of file dl_op_flags.cc.
12 {
14 switch (effect->type()) {
16
18
19
20
21
22
23
25 }
26 }
27 }
28 }
29 return special_flags_;
30}
constexpr bool is_stroked(DlDrawStyle style=DlDrawStyle::kStroke) const
constexpr bool is_geometric() const
static constexpr int kMayHaveDiagonalCaps
static constexpr int kMayHaveCaps
◆ DisplayListOpFlags
The documentation for this class was generated from the following files: