Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
CompareDiffWeighted Class Reference

#include <skdiff.h>

Static Public Member Functions

static int comparePixels (const DiffRecord *lhs, const DiffRecord *rhs)
 

Detailed Description

Definition at line 197 of file skdiff.h.

Member Function Documentation

◆ comparePixels()

static int CompareDiffWeighted::comparePixels ( const DiffRecord lhs,
const DiffRecord rhs 
)
inlinestatic

Definition at line 199 of file skdiff.h.

199 {
200 if (lhs->fWeightedFraction < rhs->fWeightedFraction) {
201 return 1;
202 }
203 if (lhs->fWeightedFraction > rhs->fWeightedFraction) {
204 return -1;
205 }
206 return 0;
207 }
float fWeightedFraction
Definition skdiff.h:139

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