A PathSource object that provides path iteration for any TRect. More...
#include <path_source.h>
Public Member Functions | |
template<class T > | |
RectPathSource (const TRect< T > &r) | |
~RectPathSource () | |
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 TRect.
Definition at line 65 of file path_source.h.
|
inlineexplicit |
Definition at line 68 of file path_source.h.
|
default |
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 23 of file path_source.cc.
References impeller::PathReceiver::Close(), impeller::TRect< T >::GetLeftBottom(), impeller::TRect< T >::GetLeftTop(), impeller::TRect< T >::GetRightBottom(), impeller::TRect< T >::GetRightTop(), impeller::PathReceiver::LineTo(), and impeller::PathReceiver::MoveTo().
Referenced by impeller::testing::TEST().
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 19 of file path_source.cc.
Referenced by impeller::testing::TEST().
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 15 of file path_source.cc.
References impeller::kNonZero.
Referenced by impeller::testing::TEST().
|
overridevirtual |
Implements impeller::PathSource.
Definition at line 11 of file path_source.cc.
Referenced by impeller::testing::TEST().