A vertex writer that generates a triangle fan and requires primitive restart. More...
#include <path_component.h>
Public Member Functions | |
| FanVertexWriter (Point *point_buffer, uint16_t *index_buffer) | |
| ~FanVertexWriter () | |
| size_t | GetIndexCount () const |
| void | EndContour () override |
| void | Write (Point point) override |
A vertex writer that generates a triangle fan and requires primitive restart.
Definition at line 30 of file path_component.h.
|
explicit |
Definition at line 18 of file path_component.cc.
|
default |
|
overridevirtual |
Implements impeller::VertexWriter.
Definition at line 27 of file path_component.cc.
| size_t impeller::FanVertexWriter::GetIndexCount | ( | ) | const |
Definition at line 23 of file path_component.cc.
Referenced by impeller::Tessellator::TessellateConvex(), and impeller::testing::TEST().
|
overridevirtual |
Implements impeller::VertexWriter.
Definition at line 34 of file path_component.cc.