Flutter Engine
 
Loading...
Searching...
No Matches
impeller::PathTessellator Class Reference

#include <path_tessellator.h>

Classes

struct  Conic
 
struct  Cubic
 
struct  Quad
 
class  SegmentReceiver
 An interface for receiving pruned path segments. More...
 
class  VertexWriter
 An interface for generating a multi contour polyline as a triangle strip. More...
 

Static Public Member Functions

static void PathToFilledSegments (const PathSource &source, SegmentReceiver &receiver)
 
static void PathToStrokedSegments (const PathSource &source, SegmentReceiver &receiver)
 
static std::pair< size_t, size_t > CountFillStorage (const PathSource &source, Scalar scale)
 
static void PathToFilledVertices (const PathSource &source, VertexWriter &writer, Scalar scale)
 

Detailed Description

Definition at line 17 of file path_tessellator.h.

Member Function Documentation

◆ CountFillStorage()

std::pair< size_t, size_t > impeller::PathTessellator::CountFillStorage ( const PathSource source,
Scalar  scale 
)
static

◆ PathToFilledSegments()

void impeller::PathTessellator::PathToFilledSegments ( const PathSource source,
SegmentReceiver receiver 
)
static

◆ PathToFilledVertices()

void impeller::PathTessellator::PathToFilledVertices ( const PathSource source,
VertexWriter writer,
Scalar  scale 
)
static

◆ PathToStrokedSegments()

void impeller::PathTessellator::PathToStrokedSegments ( const PathSource source,
SegmentReceiver receiver 
)
static

Definition at line 290 of file path_tessellator.cc.

291 {
292 PathPruner pruner(receiver, true);
293 source.Dispatch(pruner);
294 pruner.PathEnd();
295}

References impeller::PathSource::Dispatch().

Referenced by impeller::StrokePathSourceGeometry::Dispatch().


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