A structure to store all of the parameters related to stroking a path or basic geometry object. More...
#include <stroke_parameters.h>
Public Member Functions | |
constexpr bool | operator== (const StrokeParameters ¶meters) const |
constexpr bool | operator!= (const StrokeParameters ¶meters) const |
Public Attributes | |
Scalar | width = 0.0f |
Cap | cap = Cap::kButt |
Join | join = Join::kMiter |
Scalar | miter_limit = 4.0f |
A structure to store all of the parameters related to stroking a path or basic geometry object.
Definition at line 28 of file stroke_parameters.h.
|
inlineconstexpr |
Definition at line 39 of file stroke_parameters.h.
|
inlineconstexpr |
Cap impeller::StrokeParameters::cap = Cap::kButt |
Definition at line 30 of file stroke_parameters.h.
Referenced by impeller::Canvas::DrawArc(), impeller::DlDispatcherBase::drawPoints(), impeller::StrokeSegmentsGeometry::GetStrokeCap(), impeller::StrokeSegmentsGeometry::GetStrokeCoverage(), operator==(), impeller::DlDispatcherBase::setStrokeCap(), and impeller::FirstPassDispatcher::setStrokeCap().
Join impeller::StrokeParameters::join = Join::kMiter |
Definition at line 31 of file stroke_parameters.h.
Referenced by impeller::StrokeSegmentsGeometry::GetStrokeCoverage(), impeller::StrokeSegmentsGeometry::GetStrokeJoin(), operator==(), impeller::DlDispatcherBase::setStrokeJoin(), and impeller::FirstPassDispatcher::setStrokeJoin().
Scalar impeller::StrokeParameters::miter_limit = 4.0f |
Definition at line 32 of file stroke_parameters.h.
Referenced by impeller::StrokeSegmentsGeometry::GetMiterLimit(), impeller::StrokeSegmentsGeometry::GetStrokeCoverage(), impeller::Geometry::MakeStrokePath(), operator==(), impeller::DlDispatcherBase::setStrokeMiter(), and impeller::FirstPassDispatcher::setStrokeMiter().
Scalar impeller::StrokeParameters::width = 0.0f |
Definition at line 29 of file stroke_parameters.h.
Referenced by impeller::BM_StrokePath(), impeller::StrokeSegmentsGeometry::ComputeAlphaCoverage(), impeller::Canvas::DrawArc(), impeller::Canvas::DrawCircle(), impeller::Canvas::DrawOval(), impeller::DlDispatcherBase::drawPoints(), impeller::StrokeSegmentsGeometry::GetStrokeCoverage(), impeller::StrokeSegmentsGeometry::GetStrokeWidth(), operator==(), impeller::DlDispatcherBase::setStrokeWidth(), impeller::FirstPassDispatcher::setStrokeWidth(), and impeller::testing::TEST().