Flutter Engine
The Flutter Engine
Classes | Functions
SkPathOpsPoint.h File Reference
#include "include/core/SkPoint.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTemplates.h"
#include "src/pathops/SkPathOpsTypes.h"

Go to the source code of this file.

Classes

struct  SkDVector
 
struct  SkDPoint
 

Functions

bool AlmostEqualUlps (const SkPoint &pt1, const SkPoint &pt2)
 

Function Documentation

◆ AlmostEqualUlps()

bool AlmostEqualUlps ( const SkPoint pt1,
const SkPoint pt2 
)
inline

Definition at line 15 of file SkPathOpsPoint.h.

15 {
16 return AlmostEqualUlps(pt1.fX, pt2.fX) && AlmostEqualUlps(pt1.fY, pt2.fY);
17}
bool AlmostEqualUlps(const SkPoint &pt1, const SkPoint &pt2)
float fX
x-axis value
Definition: SkPoint_impl.h:164
float fY
y-axis value
Definition: SkPoint_impl.h:165