An interface for generating a multi contour polyline as a triangle strip. More...
#include <path_component.h>
Public Member Functions | |
| VertexWriter (std::vector< Point > &points, std::vector< uint16_t > &indices) | |
| ~VertexWriter ()=default | |
| void | EndContour () |
| void | Write (Point point) |
An interface for generating a multi contour polyline as a triangle strip.
Definition at line 21 of file path_component.h.
|
explicit |
Definition at line 13 of file path_component.cc.
|
default |
| void impeller::VertexWriter::EndContour | ( | ) |
Definition at line 17 of file path_component.cc.
References impeller::saturated::b.
Referenced by impeller::Path::WritePolyline().
| void impeller::VertexWriter::Write | ( | Point | point | ) |
Definition at line 67 of file path_component.cc.
Referenced by impeller::QuadraticPathComponent::ToLinearPathComponents(), impeller::CubicPathComponent::ToLinearPathComponents(), and impeller::Path::WritePolyline().