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 57 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 59 of file geometry_unittests.cc.

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

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


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