#include <SkPathOpsPoint.h>
Definition at line 102 of file SkPathOpsPoint.h.
◆ approximatelyDEqual() [1/2]
bool SkDPoint::approximatelyDEqual |
( |
const SkDPoint & |
a | ) |
const |
|
inline |
Definition at line 157 of file SkPathOpsPoint.h.
157 {
159 return true;
160 }
162 return false;
163 }
167 largest =
std::max(largest, -tiniest);
169 }
bool RoughlyEqualUlps(float a, float b)
bool AlmostDequalUlps(float a, float b)
bool approximately_equal(double x, double y)
static float max(float r, float g, float b)
static float min(float r, float g, float b)
double distance(const SkDPoint &a) const
◆ approximatelyDEqual() [2/2]
bool SkDPoint::approximatelyDEqual |
( |
const SkPoint & |
a | ) |
const |
|
inline |
Definition at line 171 of file SkPathOpsPoint.h.
171 {
175 }
void set(const SkPoint &pt)
bool approximatelyDEqual(const SkDPoint &a) const
◆ approximatelyEqual() [1/2]
bool SkDPoint::approximatelyEqual |
( |
const SkDPoint & |
a | ) |
const |
|
inline |
Definition at line 177 of file SkPathOpsPoint.h.
177 {
179 return true;
180 }
182 return false;
183 }
187 largest =
std::max(largest, -tiniest);
189 }
bool AlmostPequalUlps(float a, float b)
◆ approximatelyEqual() [2/2]
bool SkDPoint::approximatelyEqual |
( |
const SkPoint & |
a | ) |
const |
|
inline |
Definition at line 191 of file SkPathOpsPoint.h.
191 {
195 }
bool approximatelyEqual(const SkDPoint &a) const
◆ ApproximatelyEqual()
static bool SkDPoint::ApproximatelyEqual |
( |
const SkPoint & |
a, |
|
|
const SkPoint & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 197 of file SkPathOpsPoint.h.
197 {
199 return true;
200 }
202 return false;
203 }
210 largest =
std::max(largest, -tiniest);
212 }
◆ approximatelyZero()
bool SkDPoint::approximatelyZero |
( |
| ) |
const |
|
inline |
Definition at line 215 of file SkPathOpsPoint.h.
215 {
217 }
static bool approximately_zero(double x)
◆ asSkPoint()
SkPoint SkDPoint::asSkPoint |
( |
| ) |
const |
|
inline |
Definition at line 219 of file SkPathOpsPoint.h.
219 {
221 return pt;
222 }
#define SkDoubleToScalar(x)
◆ distance()
double SkDPoint::distance |
( |
const SkDPoint & |
a | ) |
const |
|
inline |
◆ distanceSquared()
double SkDPoint::distanceSquared |
( |
const SkDPoint & |
a | ) |
const |
|
inline |
◆ dump()
void SkDPoint::dump |
( |
| ) |
const |
Definition at line 181 of file PathOpsDebug.cpp.
181 {
187}
void DebugDumpDouble(double x)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
◆ Dump()
void SkDPoint::Dump |
( |
const SkPoint & |
pt | ) |
|
|
static |
◆ DumpHex()
void SkDPoint::DumpHex |
( |
const SkPoint & |
pt | ) |
|
|
static |
◆ Mid()
◆ operator+()
◆ operator+=()
void SkDPoint::operator+= |
( |
const SkDVector & |
v | ) |
|
|
inline |
◆ operator-()
◆ operator-=()
void SkDPoint::operator-= |
( |
const SkDVector & |
v | ) |
|
|
inline |
◆ operator=()
void SkDPoint::operator= |
( |
const SkPoint & |
pt | ) |
|
|
inline |
◆ roughlyEqual()
bool SkDPoint::roughlyEqual |
( |
const SkDPoint & |
a | ) |
const |
|
inline |
Definition at line 241 of file SkPathOpsPoint.h.
241 {
243 return true;
244 }
248 largest =
std::max(largest, -tiniest);
250 }
bool roughly_equal(double x, double y)
◆ RoughlyEqual()
static bool SkDPoint::RoughlyEqual |
( |
const SkPoint & |
a, |
|
|
const SkPoint & |
b |
|
) |
| |
|
inlinestatic |
◆ set()
void SkDPoint::set |
( |
const SkPoint & |
pt | ) |
|
|
inline |
◆ WayRoughlyEqual()
static bool SkDPoint::WayRoughlyEqual |
( |
const SkPoint & |
a, |
|
|
const SkPoint & |
b |
|
) |
| |
|
inlinestatic |
Definition at line 267 of file SkPathOpsPoint.h.
267 {
273 }
bool roughly_zero_when_compared_to(double x, double y)
◆ operator!=
◆ operator-
◆ operator==
◆ fX
◆ fY
The documentation for this struct was generated from the following files: