Flutter Engine
The Flutter Engine
|
#include "include/core/SkPath.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypes.h"
#include "src/pathops/SkPathOpsDebug.h"
#include <cfloat>
#include <cmath>
Go to the source code of this file.
Classes | |
class | SkOpGlobalState |
Macros | |
#define | SkOPASSERT(cond) |
#define | SkOPOBJASSERT(obj, cond) |
Enumerations | |
enum | SkPathOpsMask { kWinding_PathOpsMask = -1 , kNo_PathOpsMask = 0 , kEvenOdd_PathOpsMask = 1 } |
enum class | SkOpPhase : char { kNoChange , kIntersecting , kWalking , kFixWinding } |
Variables | |
const double | FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON |
const double | FLT_EPSILON_HALF = FLT_EPSILON / 2 |
const double | FLT_EPSILON_DOUBLE = FLT_EPSILON * 2 |
const double | FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16 |
const double | FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON |
const double | FLT_EPSILON_SQRT = 0.00034526697709225118 |
const double | FLT_EPSILON_INVERSE = 1 / FLT_EPSILON |
const double | DBL_EPSILON_ERR = DBL_EPSILON * 4 |
const double | DBL_EPSILON_SUBDIVIDE_ERR = DBL_EPSILON * 16 |
const double | ROUGH_EPSILON = FLT_EPSILON * 64 |
const double | MORE_ROUGH_EPSILON = FLT_EPSILON * 256 |
const double | WAY_ROUGH_EPSILON = FLT_EPSILON * 2048 |
const double | BUMP_EPSILON = FLT_EPSILON * 4096 |
const SkScalar | INVERSE_NUMBER_RANGE = FLT_EPSILON_ORDERABLE_ERR |
#define SkOPASSERT | ( | cond | ) |
Definition at line 228 of file SkPathOpsTypes.h.
#define SkOPOBJASSERT | ( | obj, | |
cond | |||
) |
Definition at line 229 of file SkPathOpsTypes.h.
|
strong |
Enumerator | |
---|---|
kNoChange | |
kIntersecting | |
kWalking | |
kFixWinding |
Definition at line 29 of file SkPathOpsTypes.h.
enum SkPathOpsMask |
Enumerator | |
---|---|
kWinding_PathOpsMask | |
kNo_PathOpsMask | |
kEvenOdd_PathOpsMask |
Definition at line 18 of file SkPathOpsTypes.h.
|
inline |
Definition at line 269 of file SkPathOpsTypes.h.
bool AlmostBequalUlps | ( | float | a, |
float | b | ||
) |
Definition at line 113 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 294 of file SkPathOpsTypes.h.
bool AlmostBetweenUlps | ( | float | a, |
float | b, | ||
float | c | ||
) |
Definition at line 174 of file SkPathOpsTypes.cpp.
bool AlmostDequalUlps | ( | double | a, |
double | b | ||
) |
Definition at line 128 of file SkPathOpsTypes.cpp.
bool AlmostDequalUlps | ( | float | a, |
float | b | ||
) |
Definition at line 123 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 234 of file SkPathOpsTypes.h.
bool AlmostEqualUlps | ( | float | a, |
float | b | ||
) |
Definition at line 138 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 244 of file SkPathOpsTypes.h.
bool AlmostEqualUlps_Pin | ( | float | a, |
float | b | ||
) |
Definition at line 148 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 239 of file SkPathOpsTypes.h.
bool AlmostEqualUlpsNoNormalCheck | ( | float | a, |
float | b | ||
) |
Definition at line 143 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 289 of file SkPathOpsTypes.h.
bool AlmostLessOrEqualUlps | ( | float | a, |
float | b | ||
) |
Definition at line 185 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 284 of file SkPathOpsTypes.h.
bool AlmostLessUlps | ( | float | a, |
float | b | ||
) |
Definition at line 180 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 274 of file SkPathOpsTypes.h.
bool AlmostPequalUlps | ( | float | a, |
float | b | ||
) |
Definition at line 118 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 519 of file SkPathOpsTypes.h.
|
inline |
Definition at line 513 of file SkPathOpsTypes.h.
|
inline |
Definition at line 385 of file SkPathOpsTypes.h.
|
inline |
Definition at line 401 of file SkPathOpsTypes.h.
|
inline |
Definition at line 397 of file SkPathOpsTypes.h.
|
inline |
Definition at line 405 of file SkPathOpsTypes.h.
|
inline |
Definition at line 409 of file SkPathOpsTypes.h.
|
inline |
Definition at line 413 of file SkPathOpsTypes.h.
|
inline |
Definition at line 417 of file SkPathOpsTypes.h.
|
inline |
Definition at line 425 of file SkPathOpsTypes.h.
|
inline |
Definition at line 429 of file SkPathOpsTypes.h.
|
inline |
Definition at line 433 of file SkPathOpsTypes.h.
|
inline |
Definition at line 421 of file SkPathOpsTypes.h.
|
inline |
Definition at line 461 of file SkPathOpsTypes.h.
|
inline |
Definition at line 469 of file SkPathOpsTypes.h.
|
inline |
Definition at line 437 of file SkPathOpsTypes.h.
|
inline |
Definition at line 441 of file SkPathOpsTypes.h.
|
inline |
Definition at line 449 of file SkPathOpsTypes.h.
|
inline |
Definition at line 453 of file SkPathOpsTypes.h.
|
inline |
Definition at line 457 of file SkPathOpsTypes.h.
|
inline |
Definition at line 445 of file SkPathOpsTypes.h.
|
inline |
Definition at line 477 of file SkPathOpsTypes.h.
|
inline |
Definition at line 481 of file SkPathOpsTypes.h.
|
inline |
Definition at line 489 of file SkPathOpsTypes.h.
|
inline |
Definition at line 493 of file SkPathOpsTypes.h.
|
inline |
Definition at line 497 of file SkPathOpsTypes.h.
|
inline |
Definition at line 501 of file SkPathOpsTypes.h.
|
inline |
Definition at line 327 of file SkPathOpsTypes.h.
|
inline |
Definition at line 339 of file SkPathOpsTypes.h.
|
inline |
Definition at line 347 of file SkPathOpsTypes.h.
|
inline |
Definition at line 343 of file SkPathOpsTypes.h.
|
inline |
Definition at line 367 of file SkPathOpsTypes.h.
|
inline |
Definition at line 505 of file SkPathOpsTypes.h.
|
inline |
Definition at line 509 of file SkPathOpsTypes.h.
|
inline |
Definition at line 351 of file SkPathOpsTypes.h.
|
inline |
Definition at line 359 of file SkPathOpsTypes.h.
|
inline |
Definition at line 355 of file SkPathOpsTypes.h.
|
inline |
Definition at line 371 of file SkPathOpsTypes.h.
|
inline |
Definition at line 530 of file SkPathOpsTypes.h.
|
inline |
Definition at line 549 of file SkPathOpsTypes.h.
|
inline |
Definition at line 263 of file SkPathOpsTypes.h.
bool NotAlmostDequalUlps | ( | float | a, |
float | b | ||
) |
Definition at line 163 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 253 of file SkPathOpsTypes.h.
bool NotAlmostEqualUlps | ( | float | a, |
float | b | ||
) |
Definition at line 153 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 258 of file SkPathOpsTypes.h.
bool NotAlmostEqualUlps_Pin | ( | float | a, |
float | b | ||
) |
Definition at line 158 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 524 of file SkPathOpsTypes.h.
|
inline |
Definition at line 389 of file SkPathOpsTypes.h.
|
inline |
Definition at line 465 of file SkPathOpsTypes.h.
|
inline |
Definition at line 473 of file SkPathOpsTypes.h.
|
inline |
Definition at line 485 of file SkPathOpsTypes.h.
|
inline |
Definition at line 393 of file SkPathOpsTypes.h.
|
inline |
Definition at line 335 of file SkPathOpsTypes.h.
|
inline |
Definition at line 331 of file SkPathOpsTypes.h.
|
inline |
Definition at line 375 of file SkPathOpsTypes.h.
|
inline |
Definition at line 544 of file SkPathOpsTypes.h.
|
inline |
Definition at line 536 of file SkPathOpsTypes.h.
|
inline |
Definition at line 540 of file SkPathOpsTypes.h.
|
inline |
Definition at line 363 of file SkPathOpsTypes.h.
|
inline |
Definition at line 379 of file SkPathOpsTypes.h.
|
inline |
Definition at line 279 of file SkPathOpsTypes.h.
bool RoughlyEqualUlps | ( | float | a, |
float | b | ||
) |
Definition at line 168 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 581 of file SkPathOpsTypes.h.
|
inline |
Definition at line 593 of file SkPathOpsTypes.h.
|
inline |
Definition at line 599 of file SkPathOpsTypes.h.
|
inline |
Definition at line 587 of file SkPathOpsTypes.h.
|
inline |
Definition at line 553 of file SkPathOpsTypes.h.
|
inline |
Definition at line 567 of file SkPathOpsTypes.h.
|
inline |
Definition at line 603 of file SkPathOpsTypes.h.
|
inline |
Definition at line 299 of file SkPathOpsTypes.h.
int UlpsDistance | ( | float | a, |
float | b | ||
) |
Definition at line 190 of file SkPathOpsTypes.cpp.
|
inline |
Definition at line 323 of file SkPathOpsTypes.h.
const double BUMP_EPSILON = FLT_EPSILON * 4096 |
Definition at line 319 of file SkPathOpsTypes.h.
const double DBL_EPSILON_ERR = DBL_EPSILON * 4 |
Definition at line 314 of file SkPathOpsTypes.h.
const double DBL_EPSILON_SUBDIVIDE_ERR = DBL_EPSILON * 16 |
Definition at line 315 of file SkPathOpsTypes.h.
const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON |
Definition at line 305 of file SkPathOpsTypes.h.
const double FLT_EPSILON_DOUBLE = FLT_EPSILON * 2 |
Definition at line 307 of file SkPathOpsTypes.h.
const double FLT_EPSILON_HALF = FLT_EPSILON / 2 |
Definition at line 306 of file SkPathOpsTypes.h.
const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON |
Definition at line 313 of file SkPathOpsTypes.h.
const double FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16 |
Definition at line 308 of file SkPathOpsTypes.h.
const double FLT_EPSILON_SQRT = 0.00034526697709225118 |
Definition at line 312 of file SkPathOpsTypes.h.
const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON |
Definition at line 309 of file SkPathOpsTypes.h.
const SkScalar INVERSE_NUMBER_RANGE = FLT_EPSILON_ORDERABLE_ERR |
Definition at line 321 of file SkPathOpsTypes.h.
const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256 |
Definition at line 317 of file SkPathOpsTypes.h.
const double ROUGH_EPSILON = FLT_EPSILON * 64 |
Definition at line 316 of file SkPathOpsTypes.h.
const double WAY_ROUGH_EPSILON = FLT_EPSILON * 2048 |
Definition at line 318 of file SkPathOpsTypes.h.