Flutter Engine
The Flutter Engine
|
#include <SkOpSegment.h>
Static Public Member Functions | |
static bool | ComputeOneSum (const SkOpAngle *baseAngle, SkOpAngle *nextAngle, SkOpAngle::IncludeType) |
static bool | ComputeOneSumReverse (SkOpAngle *baseAngle, SkOpAngle *nextAngle, SkOpAngle::IncludeType) |
static void | ClearVisited (SkOpSpanBase *span) |
static int | OppSign (const SkOpSpanBase *start, const SkOpSpanBase *end) |
static int | SpanSign (const SkOpSpanBase *start, const SkOpSpanBase *end) |
static bool | UseInnerWinding (int outerWinding, int innerWinding) |
Definition at line 35 of file SkOpSegment.h.
SkOpAngle * SkOpSegment::activeAngle | ( | SkOpSpanBase * | start, |
SkOpSpanBase ** | startPtr, | ||
SkOpSpanBase ** | endPtr, | ||
bool * | done | ||
) |
Definition at line 54 of file SkOpSegment.cpp.
SkOpAngle * SkOpSegment::activeAngleInner | ( | SkOpSpanBase * | start, |
SkOpSpanBase ** | startPtr, | ||
SkOpSpanBase ** | endPtr, | ||
bool * | done | ||
) |
Definition at line 65 of file SkOpSegment.cpp.
SkOpAngle * SkOpSegment::activeAngleOther | ( | SkOpSpanBase * | start, |
SkOpSpanBase ** | startPtr, | ||
SkOpSpanBase ** | endPtr, | ||
bool * | done | ||
) |
Definition at line 106 of file SkOpSegment.cpp.
bool SkOpSegment::activeOp | ( | int | xorMiMask, |
int | xorSuMask, | ||
SkOpSpanBase * | start, | ||
SkOpSpanBase * | end, | ||
SkPathOp | op, | ||
int * | sumMiWinding, | ||
int * | sumSuWinding | ||
) |
Definition at line 129 of file SkOpSegment.cpp.
bool SkOpSegment::activeOp | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
int | xorMiMask, | ||
int | xorSuMask, | ||
SkPathOp | op | ||
) |
Definition at line 114 of file SkOpSegment.cpp.
bool SkOpSegment::activeWinding | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end | ||
) |
Definition at line 158 of file SkOpSegment.cpp.
bool SkOpSegment::activeWinding | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
int * | sumWinding | ||
) |
Definition at line 163 of file SkOpSegment.cpp.
|
inline |
Definition at line 55 of file SkOpSegment.h.
|
inline |
Definition at line 63 of file SkOpSegment.h.
bool SkOpSegment::addCurveTo | ( | const SkOpSpanBase * | start, |
const SkOpSpanBase * | end, | ||
SkPathWriter * | path | ||
) | const |
Definition at line 172 of file SkOpSegment.cpp.
|
inline |
Definition at line 73 of file SkOpSegment.h.
bool SkOpSegment::addExpanded | ( | double | newT, |
const SkOpSpanBase * | test, | ||
bool * | startOver | ||
) |
Definition at line 235 of file SkOpSegment.cpp.
|
inline |
Definition at line 82 of file SkOpSegment.h.
SkOpPtT * SkOpSegment::addMissing | ( | double | t, |
SkOpSegment * | opp, | ||
bool * | allExist | ||
) |
|
inline |
Definition at line 98 of file SkOpSegment.h.
|
inline |
Definition at line 91 of file SkOpSegment.h.
SkOpPtT * SkOpSegment::addT | ( | double | t | ) |
Definition at line 288 of file SkOpSegment.cpp.
Definition at line 259 of file SkOpSegment.cpp.
|
inline |
Definition at line 109 of file SkOpSegment.h.
|
inline |
Definition at line 113 of file SkOpSegment.h.
void SkOpSegment::calcAngles | ( | ) |
Definition at line 292 of file SkOpSegment.cpp.
void SkOpSegment::clearAll | ( | ) |
Definition at line 323 of file SkOpSegment.cpp.
void SkOpSegment::clearOne | ( | SkOpSpan * | span | ) |
Definition at line 332 of file SkOpSegment.cpp.
|
static |
Definition at line 1140 of file SkOpSegment.cpp.
SkOpSpanBase::Collapsed SkOpSegment::collapsed | ( | double | startT, |
double | endT | ||
) | const |
Definition at line 338 of file SkOpSegment.cpp.
|
static |
Definition at line 349 of file SkOpSegment.cpp.
|
static |
Definition at line 384 of file SkOpSegment.cpp.
int SkOpSegment::computeSum | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
SkOpAngle::IncludeType | includeType | ||
) |
Definition at line 420 of file SkOpSegment.cpp.
bool SkOpSegment::contains | ( | double | t | ) | const |
Definition at line 490 of file SkOpSegment.cpp.
|
inline |
Definition at line 130 of file SkOpSegment.h.
|
inline |
Definition at line 134 of file SkOpSegment.h.
void SkOpSegment::debugAddAngle | ( | double | startT, |
double | endT | ||
) |
Definition at line 1548 of file PathOpsDebug.cpp.
Definition at line 828 of file PathOpsDebug.cpp.
const SkOpCoincidence * SkOpSegment::debugCoincidence | ( | ) | const |
Definition at line 832 of file PathOpsDebug.cpp.
SkOpContour * SkOpSegment::debugContour | ( | int | id | ) | const |
Definition at line 836 of file PathOpsDebug.cpp.
|
inline |
Definition at line 154 of file SkOpSegment.h.
SkOpAngle * SkOpSegment::debugLastAngle | ( | ) |
Definition at line 805 of file SkPathOpsDebug.cpp.
Definition at line 840 of file PathOpsDebug.cpp.
void SkOpSegment::debugReset | ( | ) |
Definition at line 1097 of file SkPathOpsDebug.cpp.
const SkOpSegment * SkOpSegment::debugSegment | ( | int | id | ) | const |
Definition at line 844 of file PathOpsDebug.cpp.
const SkOpSpanBase * SkOpSegment::debugSpan | ( | int | id | ) | const |
Definition at line 848 of file PathOpsDebug.cpp.
void SkOpSegment::debugValidate | ( | ) | const |
Definition at line 2333 of file SkPathOpsDebug.cpp.
|
inline |
Definition at line 200 of file SkOpSegment.h.
|
inline |
Definition at line 205 of file SkOpSegment.h.
|
inline |
Definition at line 209 of file SkOpSegment.h.
|
inline |
Definition at line 213 of file SkOpSegment.h.
void SkOpSegment::dump | ( | ) | const |
Definition at line 852 of file PathOpsDebug.cpp.
void SkOpSegment::dumpAll | ( | ) | const |
Definition at line 866 of file PathOpsDebug.cpp.
void SkOpSegment::dumpAngles | ( | ) | const |
Definition at line 877 of file PathOpsDebug.cpp.
void SkOpSegment::dumpCoin | ( | ) | const |
Definition at line 894 of file PathOpsDebug.cpp.
void SkOpSegment::dumpPts | ( | const char * | prefix = "seg" | ) | const |
Definition at line 919 of file PathOpsDebug.cpp.
void SkOpSegment::dumpPtsInner | ( | const char * | prefix = "seg" | ) | const |
Definition at line 901 of file PathOpsDebug.cpp.
const SkOpPtT * SkOpSegment::existing | ( | double | t, |
const SkOpSegment * | opp | ||
) | const |
Definition at line 203 of file SkOpSegment.cpp.
SkOpSegment * SkOpSegment::findNextOp | ( | SkTDArray< SkOpSpanBase * > * | chase, |
SkOpSpanBase ** | nextStart, | ||
SkOpSpanBase ** | nextEnd, | ||
bool * | unsortable, | ||
bool * | simple, | ||
SkPathOp | op, | ||
int | xorMiMask, | ||
int | xorSuMask | ||
) |
Definition at line 544 of file SkOpSegment.cpp.
SkOpSegment * SkOpSegment::findNextWinding | ( | SkTDArray< SkOpSpanBase * > * | chase, |
SkOpSpanBase ** | nextStart, | ||
SkOpSpanBase ** | nextEnd, | ||
bool * | unsortable | ||
) |
Definition at line 651 of file SkOpSegment.cpp.
SkOpSegment * SkOpSegment::findNextXor | ( | SkOpSpanBase ** | nextStart, |
SkOpSpanBase ** | nextEnd, | ||
bool * | unsortable | ||
) |
Definition at line 747 of file SkOpSegment.cpp.
SkOpSpan * SkOpSegment::findSortableTop | ( | SkOpContour * | contourHead | ) |
Definition at line 390 of file SkPathOpsWinding.cpp.
SkOpGlobalState * SkOpSegment::globalState | ( | ) | const |
Definition at line 818 of file SkOpSegment.cpp.
|
inline |
Definition at line 238 of file SkOpSegment.h.
|
inline |
Definition at line 234 of file SkOpSegment.h.
void SkOpSegment::init | ( | SkPoint | pts[], |
SkScalar | weight, | ||
SkOpContour * | parent, | ||
SkPath::Verb | verb | ||
) |
Definition at line 822 of file SkOpSegment.cpp.
Definition at line 244 of file SkOpSegment.h.
bool SkOpSegment::isClose | ( | double | t, |
const SkOpSegment * | opp | ||
) | const |
Definition at line 839 of file SkOpSegment.cpp.
|
inline |
Definition at line 261 of file SkOpSegment.h.
|
inline |
Definition at line 265 of file SkOpSegment.h.
|
inline |
Definition at line 269 of file SkOpSegment.h.
|
inline |
Definition at line 273 of file SkOpSegment.h.
bool SkOpSegment::isXor | ( | ) | const |
Definition at line 854 of file SkOpSegment.cpp.
|
inline |
|
inline |
Definition at line 283 of file SkOpSegment.h.
void SkOpSegment::markAllDone | ( | ) |
Definition at line 858 of file SkOpSegment.cpp.
bool SkOpSegment::markAndChaseDone | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
SkOpSpanBase ** | found | ||
) |
Definition at line 865 of file SkOpSegment.cpp.
bool SkOpSegment::markAndChaseWinding | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
int | winding, | ||
int | oppWinding, | ||
SkOpSpanBase ** | lastPtr | ||
) |
Definition at line 923 of file SkOpSegment.cpp.
bool SkOpSegment::markAndChaseWinding | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
int | winding, | ||
SkOpSpanBase ** | lastPtr | ||
) |
Definition at line 898 of file SkOpSegment.cpp.
bool SkOpSegment::markAngle | ( | int | maxWinding, |
int | sumWinding, | ||
const SkOpAngle * | angle, | ||
SkOpSpanBase ** | result | ||
) |
Definition at line 960 of file SkOpSegment.cpp.
bool SkOpSegment::markAngle | ( | int | maxWinding, |
int | sumWinding, | ||
int | oppMaxWinding, | ||
int | oppSumWinding, | ||
const SkOpAngle * | angle, | ||
SkOpSpanBase ** | result | ||
) |
Definition at line 984 of file SkOpSegment.cpp.
void SkOpSegment::markDone | ( | SkOpSpan * | span | ) |
Definition at line 1014 of file SkOpSegment.cpp.
Definition at line 1027 of file SkOpSegment.cpp.
Definition at line 1041 of file SkOpSegment.cpp.
bool SkOpSegment::match | ( | const SkOpPtT * | span, |
const SkOpSegment * | parent, | ||
double | t, | ||
const SkPoint & | pt | ||
) | const |
Definition at line 1056 of file SkOpSegment.cpp.
bool SkOpSegment::missingCoincidence | ( | ) |
Definition at line 1161 of file SkOpSegment.cpp.
bool SkOpSegment::moveMultiples | ( | ) |
Definition at line 1271 of file SkOpSegment.cpp.
bool SkOpSegment::moveNearby | ( | ) |
Definition at line 1441 of file SkOpSegment.cpp.
|
inline |
Definition at line 304 of file SkOpSegment.h.
SkOpSegment * SkOpSegment::nextChase | ( | SkOpSpanBase ** | startPtr, |
int * | step, | ||
SkOpSpan ** | minPtr, | ||
SkOpSpanBase ** | last | ||
) | const |
Definition at line 1077 of file SkOpSegment.cpp.
bool SkOpSegment::operand | ( | ) | const |
Definition at line 1496 of file SkOpSegment.cpp.
|
inline |
Definition at line 37 of file SkOpSegment.h.
|
inlinestatic |
bool SkOpSegment::oppXor | ( | ) | const |
Definition at line 1500 of file SkOpSegment.cpp.
|
inline |
Definition at line 319 of file SkOpSegment.h.
|
inline |
Definition at line 323 of file SkOpSegment.h.
|
inline |
Definition at line 327 of file SkOpSegment.h.
Definition at line 337 of file SkOpSegment.h.
bool SkOpSegment::ptsDisjoint | ( | double | t1, |
const SkPoint & | pt1, | ||
double | t2, | ||
const SkPoint & | pt2 | ||
) | const |
Definition at line 1504 of file SkOpSegment.cpp.
void SkOpSegment::rayCheck | ( | const SkOpRayHit & | base, |
SkOpRayDir | dir, | ||
SkOpRayHit ** | hits, | ||
SkArenaAlloc * | allocator | ||
) |
Definition at line 138 of file SkPathOpsWinding.cpp.
void SkOpSegment::release | ( | const SkOpSpan * | span | ) |
Definition at line 504 of file SkOpSegment.cpp.
|
inline |
Definition at line 353 of file SkOpSegment.h.
|
inline |
Definition at line 357 of file SkOpSegment.h.
|
inline |
Definition at line 361 of file SkOpSegment.h.
|
inline |
Definition at line 365 of file SkOpSegment.h.
|
inline |
Definition at line 369 of file SkOpSegment.h.
void SkOpSegment::setUpWindings | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
int * | sumMiWinding, | ||
int * | maxWinding, | ||
int * | sumWinding | ||
) |
Definition at line 1521 of file SkOpSegment.cpp.
void SkOpSegment::setUpWindings | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end, | ||
int * | sumMiWinding, | ||
int * | sumSuWinding, | ||
int * | maxWinding, | ||
int * | sumWinding, | ||
int * | oppMaxWinding, | ||
int * | oppSumWinding | ||
) |
Definition at line 1529 of file SkOpSegment.cpp.
bool SkOpSegment::sortAngles | ( | ) |
Definition at line 1549 of file SkOpSegment.cpp.
|
inlinestatic |
bool SkOpSegment::spansNearby | ( | const SkOpSpanBase * | ref, |
const SkOpSpanBase * | check, | ||
bool * | found | ||
) | const |
Definition at line 1370 of file SkOpSegment.cpp.
|
inline |
bool SkOpSegment::subDivide | ( | const SkOpSpanBase * | start, |
const SkOpSpanBase * | end, | ||
SkDCurve * | result | ||
) | const |
Definition at line 1624 of file SkOpSegment.cpp.
|
inline |
Definition at line 402 of file SkOpSegment.h.
|
inline |
Definition at line 398 of file SkOpSegment.h.
bool SkOpSegment::testForCoincidence | ( | const SkOpPtT * | priorPtT, |
const SkOpPtT * | ptT, | ||
const SkOpSpanBase * | prior, | ||
const SkOpSpanBase * | spanBase, | ||
const SkOpSegment * | opp | ||
) | const |
Definition at line 1671 of file SkOpSegment.cpp.
SkOpSpan * SkOpSegment::undoneSpan | ( | ) |
Definition at line 1708 of file SkOpSegment.cpp.
Definition at line 1731 of file SkOpSegment.cpp.
int SkOpSegment::updateOppWinding | ( | const SkOpSpanBase * | start, |
const SkOpSpanBase * | end | ||
) | const |
Definition at line 1720 of file SkOpSegment.cpp.
Definition at line 1737 of file SkOpSegment.cpp.
Definition at line 1760 of file SkOpSegment.cpp.
int SkOpSegment::updateWinding | ( | SkOpSpanBase * | start, |
SkOpSpanBase * | end | ||
) |
Definition at line 1743 of file SkOpSegment.cpp.
Definition at line 1766 of file SkOpSegment.cpp.
Definition at line 1775 of file SkOpSegment.cpp.
|
inline |
Definition at line 419 of file SkOpSegment.h.
|
inline |
Definition at line 424 of file SkOpSegment.h.
|
inline |
Definition at line 432 of file SkOpSegment.h.
SkOpSpan * SkOpSegment::windingSpanAtT | ( | double | tHit | ) |
Definition at line 208 of file SkPathOpsWinding.cpp.