| Flutter Impeller |

Static Public Member Functions | List of all members
impeller::ImpellerBenchmarkAccessor Class Reference

## Static Public Member Functions
static std::vector< SolidFillVertexShader::PerVertexData > | GenerateSolidStrokeVertices (const Path::Polyline &polyline, Scalar stroke_width, Scalar miter_limit, Join stroke_join, Cap stroke_cap, Scalar scale)

## Detailed Description

Definition at line 16 of file geometry_benchmarks.cc.

## Member Function Documentation

## ◆ GenerateSolidStrokeVertices()

static std::vector<SolidFillVertexShader::PerVertexData> impeller::ImpellerBenchmarkAccessor::GenerateSolidStrokeVertices | ( | const Path::Polyline & | polyline,
|  | Scalar | stroke_width,
|  | Scalar | miter_limit,
|  | Join | stroke_join,
|  | Cap | stroke_cap,
|  | Scalar | scale
| ) |  |
| inline static

Definition at line 19 of file geometry_benchmarks.cc.

24 {
25 return StrokePathGeometry::GenerateSolidStrokeVertices(
26 polyline, stroke_width, miter_limit, stroke_join, stroke_cap, scale);
27 }

References polyline, scale, and stroke_width.

Referenced by impeller::BM_StrokePolyline().

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

- impeller/geometry/geometry_benchmarks.cc

polyline
const Path::Polyline & polyline
Definition: stroke_path_geometry.cc:296
stroke_width
const Scalar stroke_width
Definition: stroke_path_geometry.cc:297
scale
const Scalar scale
Definition: stroke_path_geometry.cc:301