Flutter Impeller
impeller::ImpellerEntityUnitTestAccessor Class Reference

Static Public Member Functions

static std::vector< PointGenerateSolidStrokeVertices (const PathSource &path, const StrokeParameters &stroke, Scalar scale)
 

Detailed Description

Definition at line 58 of file geometry_unittests.cc.

Member Function Documentation

◆ GenerateSolidStrokeVertices()

static std::vector<Point> impeller::ImpellerEntityUnitTestAccessor::GenerateSolidStrokeVertices ( const PathSource path,
const StrokeParameters stroke,
Scalar  scale 
)
inlinestatic

Definition at line 60 of file geometry_unittests.cc.

63  {
64  // We could create a single Tessellator instance for the whole suite,
65  // but we don't really need performance for unit tests.
66  Tessellator tessellator;
67  return StrokePathGeometry::GenerateSolidStrokeVertices( //
68  tessellator, path, stroke, scale);
69  }

Referenced by impeller::testing::TEST().


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