Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
SkPathMeasurePriv Class Reference

#include <SkPathMeasurePriv.h>

Static Public Member Functions

static size_t CountSegments (const SkPathMeasure &)
 

Detailed Description

Definition at line 33 of file SkPathMeasurePriv.h.

Member Function Documentation

◆ CountSegments()

size_t SkPathMeasurePriv::CountSegments ( const SkPathMeasure meas)
static

Definition at line 67 of file SkPathMeasure.cpp.

67 {
68 if (auto cntr = meas.currentMeasure()) {
69 return cntr->fSegments.size();
70 }
71 return 0;
72}
const SkContourMeasure * currentMeasure() const
Definition: SkPathMeasure.h:88

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