#include <dl_op_flags.h>
Public Member Functions | |
| constexpr bool | may_have_end_caps () const |
| The geometry may have segments that end without closing the path. | |
| constexpr bool | may_have_joins () const |
| The geometry may have segments connect non-continuously. | |
| constexpr bool | butt_cap_becomes_square () const |
| Mainly for drawPoints(PointMode) where Butt caps are rendered as squares. | |
| constexpr bool | may_have_diagonal_caps () const |
| constexpr bool | may_have_acute_joins () const |
Friends | |
| class | DisplayListAttributeFlags |
An attribute class for advertising specific properties of a geometric attribute that can affect the computation of the bounds of the primitive.
Definition at line 122 of file dl_op_flags.h.
|
inlineconstexpr |
Mainly for drawPoints(PointMode) where Butt caps are rendered as squares.
Definition at line 131 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kButtCapIsSquare.
Referenced by flutter::testing::TestParameters::getCap(), and flutter::testing::TestParameters::lineAdjust().
|
inlineconstexpr |
The geometry may have segments that meet at vertices at an acute angle such that the miter joins will extend further than the default |strokeWidth * 0.5| margin around the geometry.
Definition at line 146 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kMayHaveAcuteJoins.
Referenced by flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
The geometry may have segments that end on a diagonal such that their end caps extend further than the default |strokeWidth * 0.5| margin around the geometry.
Definition at line 138 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kMayHaveDiagonalCaps.
|
inlineconstexpr |
The geometry may have segments that end without closing the path.
Definition at line 125 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kMayHaveCaps.
Referenced by flutter::testing::TestParameters::should_match().
|
inlineconstexpr |
The geometry may have segments connect non-continuously.
Definition at line 128 of file dl_op_flags.h.
References flutter::DisplayListFlagsBase::has_any(), and flutter::DisplayListFlags::kMayHaveJoins.
Referenced by flutter::testing::TestParameters::should_match().
|
friend |
Definition at line 160 of file dl_op_flags.h.