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

#include <skdiff.h>

Static Public Member Functions

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

Detailed Description

Comparison routine for qsort; sorts by fFractionDifference from largest to smallest.

Definition at line 184 of file skdiff.h.

Member Function Documentation

◆ comparePixels()

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

Definition at line 186 of file skdiff.h.

186 {
188 return 1;
189 }
191 return -1;
192 }
193 return 0;
194 }
float fFractionDifference
Definition: skdiff.h:138

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