Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
DistanceLessThan Class Reference

Public Member Functions

 DistanceLessThan (double *distances)
 
bool operator() (const int one, const int two) const
 

Public Attributes

double * fDistances
 

Detailed Description

Definition at line 191 of file SkPathWriter.cpp.

Constructor & Destructor Documentation

◆ DistanceLessThan()

DistanceLessThan::DistanceLessThan ( double *  distances)
inline

Definition at line 193 of file SkPathWriter.cpp.

193: fDistances(distances) { }

Member Function Documentation

◆ operator()()

bool DistanceLessThan::operator() ( const int  one,
const int  two 
) const
inline

Definition at line 195 of file SkPathWriter.cpp.

195 {
196 return fDistances[one] < fDistances[two];
197 }

Member Data Documentation

◆ fDistances

double* DistanceLessThan::fDistances

Definition at line 194 of file SkPathWriter.cpp.


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