Home
last modified time | relevance | path

Searched refs:NEARLY_EQUAL (Results 1 – 1 of 1) sorted by relevance

/external/skqp/src/gpu/
DGrQuad.cpp21 #define NEARLY_EQUAL(f1, f2) (f1 == f2 || SkScalarNearlyEqual(f1, f2, 1e-5f)) macro
39 return (NEARLY_EQUAL(xs[0], xs[1]) && NEARLY_EQUAL(xs[2], xs[3]) && in coords_form_rect()
40 NEARLY_EQUAL(ys[0], ys[2]) && NEARLY_EQUAL(ys[1], ys[3])) || in coords_form_rect()
41 (NEARLY_EQUAL(xs[0], xs[2]) && NEARLY_EQUAL(xs[1], xs[3]) && in coords_form_rect()
42 NEARLY_EQUAL(ys[0], ys[1]) && NEARLY_EQUAL(ys[2], ys[3])); in coords_form_rect()