Go to the source code of this file.
|
static int | xy_index (SkOpRayDir dir) |
|
static SkScalar | pt_xy (const SkPoint &pt, SkOpRayDir dir) |
|
static SkScalar | pt_yx (const SkPoint &pt, SkOpRayDir dir) |
|
static double | pt_dxdy (const SkDVector &v, SkOpRayDir dir) |
|
static double | pt_dydx (const SkDVector &v, SkOpRayDir dir) |
|
static SkScalar | rect_side (const SkRect &r, SkOpRayDir dir) |
|
static bool | sideways_overlap (const SkRect &rect, const SkPoint &pt, SkOpRayDir dir) |
|
static bool | less_than (SkOpRayDir dir) |
|
static bool | ccw_dxdy (const SkDVector &v, SkOpRayDir dir) |
|
static bool | hit_compare_x (const SkOpRayHit *a, const SkOpRayHit *b) |
|
static bool | reverse_hit_compare_x (const SkOpRayHit *a, const SkOpRayHit *b) |
|
static bool | hit_compare_y (const SkOpRayHit *a, const SkOpRayHit *b) |
|
static bool | reverse_hit_compare_y (const SkOpRayHit *a, const SkOpRayHit *b) |
|
static double | get_t_guess (int tTry, int *dirOffset) |
|
SkOpSpan * | FindSortableTop (SkOpContourHead *contourHead) |
|
◆ SkOpRayDir
◆ ccw_dxdy()
Definition at line 97 of file SkPathOpsWinding.cpp.
97 {
99 bool leftBottom = ((
static_cast<int>(
dir) + 1) & 2) != 0;
100 return vPartPos == leftBottom;
101}
static double pt_dydx(const SkDVector &v, SkOpRayDir dir)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace Enable an endless trace buffer The default is a ring buffer This is useful when very old events need to viewed For during application launch Memory usage will continue to grow indefinitely however Start app with an specific route defined on the framework flutter assets dir
◆ FindSortableTop()
Definition at line 429 of file SkPathOpsWinding.cpp.
429 {
432 do {
434 continue;
435 }
439 }
441 }
442 return nullptr;
443}
◆ get_t_guess()
static double get_t_guess |
( |
int |
tTry, |
|
|
int * |
dirOffset |
|
) |
| |
|
static |
Definition at line 239 of file SkPathOpsWinding.cpp.
239 {
240 double t = 0.5;
241 *dirOffset = tTry & 1;
242 int tBase = tTry >> 1;
243 int tBits = 0;
244 while (tTry >>= 1) {
245 t /= 2;
246 ++tBits;
247 }
248 if (tBits) {
249 int tIndex = (tBase - 1) & ((1 << tBits) - 1);
250 t += t * 2 * tIndex;
251 }
252 return t;
253}
◆ hit_compare_x()
◆ hit_compare_y()
◆ less_than()
◆ pt_dxdy()
◆ pt_dydx()
◆ pt_xy()
◆ pt_yx()
◆ rect_side()
◆ reverse_hit_compare_x()
◆ reverse_hit_compare_y()
◆ sideways_overlap()
Definition at line 88 of file SkPathOpsWinding.cpp.
88 {
91}
bool approximately_between(double a, double b, double c)
sk_sp< SkBlender > blender SkRect rect
◆ xy_index()