A PathSource object that provides path iteration for any ellipse inscribed within a Rect bounds. More...
#include <path_source.h>
Public Member Functions | |
EllipsePathSource (const Rect &bounds) | |
~EllipsePathSource () | |
FillType | GetFillType () const override |
Rect | GetBounds () const override |
bool | IsConvex () const override |
void | Dispatch (PathReceiver &receiver) const override |
![]() | |
virtual | ~PathSource ()=default |
A PathSource object that provides path iteration for any ellipse inscribed within a Rect bounds.
Definition at line 90 of file path_source.h.
|
explicit |
Definition at line 32 of file path_source.cc.
|
default |
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 48 of file path_source.cc.
References impeller::PathReceiver::Close(), impeller::PathReceiver::ConicTo(), impeller::TRect< T >::GetBottom(), impeller::TRect< T >::GetCenter(), impeller::TRect< T >::GetLeft(), impeller::TRect< T >::GetRight(), impeller::TRect< T >::GetTop(), impeller::kSqrt2Over2, impeller::PathReceiver::MoveTo(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by impeller::testing::TEST().
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 40 of file path_source.cc.
Referenced by impeller::testing::TEST().
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 36 of file path_source.cc.
References impeller::kNonZero.
Referenced by impeller::testing::TEST().
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 44 of file path_source.cc.
Referenced by impeller::testing::TEST().