Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Member Functions | Friends | List of all members
impeller::Tessellator::EllipticalVertexGenerator Class Reference

The |VertexGenerator| implementation common to all shapes that are based on a polygonal representation of an ellipse. More...

#include <tessellator.h>

Inheritance diagram for impeller::Tessellator::EllipticalVertexGenerator:
impeller::Tessellator::VertexGenerator

Public Member Functions

PrimitiveType GetTriangleType () const override
 |VertexGenerator|
 
size_t GetVertexCount () const override
 |VertexGenerator|
 
void GenerateVertices (const TessellatedVertexProc &proc) const override
 |VertexGenerator|
 

Friends

class Tessellator
 

Detailed Description

The |VertexGenerator| implementation common to all shapes that are based on a polygonal representation of an ellipse.

Definition at line 119 of file tessellator.h.

Member Function Documentation

◆ GenerateVertices()

void impeller::Tessellator::EllipticalVertexGenerator::GenerateVertices ( const TessellatedVertexProc proc) const
inlineoverridevirtual

|VertexGenerator|

Implements impeller::Tessellator::VertexGenerator.

Definition at line 132 of file tessellator.h.

132 {
133 impl_(trigs_, data_, proc);
134 }

◆ GetTriangleType()

PrimitiveType impeller::Tessellator::EllipticalVertexGenerator::GetTriangleType ( ) const
inlineoverridevirtual

|VertexGenerator|

Implements impeller::Tessellator::VertexGenerator.

Definition at line 122 of file tessellator.h.

◆ GetVertexCount()

size_t impeller::Tessellator::EllipticalVertexGenerator::GetVertexCount ( ) const
inlineoverridevirtual

|VertexGenerator|

Implements impeller::Tessellator::VertexGenerator.

Definition at line 127 of file tessellator.h.

127 {
128 return trigs_.size() * vertices_per_trig_;
129 }

Friends And Related Symbol Documentation

◆ Tessellator

friend class Tessellator
friend

Definition at line 137 of file tessellator.h.


The documentation for this class was generated from the following files: