The |VertexGenerator| implementation common to all shapes that are based on a polygonal representation of an ellipse. More...
#include <tessellator.h>
Public Member Functions | |
| PrimitiveType | GetTriangleType () const override |
| |VertexGenerator| | |
| size_t | GetVertexCount () const override |
| |VertexGenerator| | |
| void | GenerateVertices (const TessellatedVertexProc &proc) const override |
| |VertexGenerator| | |
Static Public Member Functions | |
| static ArcVertexGenerator | MakeFilled (const Arc::Iteration &iteration, Trigs &&trigs, const Rect &oval_bounds, bool use_center, bool supports_triangle_fans) |
| static ArcVertexGenerator | MakeStroked (const Arc::Iteration &iteration, Trigs &&trigs, const Rect &oval_bounds, Scalar half_width, Cap cap, std::unique_ptr< Trigs > round_cap_trigs) |
Friends | |
| class | Tessellator |
The |VertexGenerator| implementation common to all shapes that are based on a polygonal representation of an ellipse.
Definition at line 191 of file tessellator.h.
|
overridevirtual |
|VertexGenerator|
Implements impeller::Tessellator::VertexGenerator.
Definition at line 595 of file tessellator.cc.
References FML_DCHECK.
|
overridevirtual |
|VertexGenerator|
Implements impeller::Tessellator::VertexGenerator.
Definition at line 564 of file tessellator.cc.
References impeller::kTriangleFan, and impeller::kTriangleStrip.
|
overridevirtual |
|VertexGenerator|
Implements impeller::Tessellator::VertexGenerator.
Definition at line 570 of file tessellator.cc.
References FML_DCHECK, impeller::Arc::Iteration::GetPointCount(), impeller::kRound, and impeller::kSquare.
|
static |
Definition at line 525 of file tessellator.cc.
References impeller::kSquare, and use_center.
Referenced by impeller::Tessellator::FilledArc().
|
static |
Definition at line 536 of file tessellator.cc.
Referenced by impeller::Tessellator::StrokedArc().
|
friend |
Definition at line 217 of file tessellator.h.