Definition at line 1739 of file SkPathOpsTSect.cpp.
◆ SkClosestSect()
SkClosestSect::SkClosestSect |
( |
| ) |
|
|
inline |
Definition at line 1740 of file SkPathOpsTSect.cpp.
1743 }
STArray< SkDCubic::kMaxIntersections *2, SkClosestRecord, true > fClosest
◆ find()
bool SkClosestSect::find |
( |
const SkTSpan * |
span1, |
|
|
const SkTSpan *span2 |
SkDEBUGPARAMSSkIntersections *i |
|
) |
| |
|
inline |
Definition at line 1745 of file SkPathOpsTSect.cpp.
1746 {
1748 record->
findEnd(span1, span2, 0, 0);
1749 record->
findEnd(span1, span2, 0, span2->part().pointLast());
1753 return false;
1754 }
1755 for (
int index = 0; index <
fUsed; ++index) {
1759 test->merge(*record);
1760 }
1761 test->update(*record);
1763 return false;
1764 }
1765 }
1768 return true;
1769 }
#define SkDEBUGPARAMS(...)
virtual int pointLast() const =0
const SkTCurve & part() const
void findEnd(const SkTSpan *span1, const SkTSpan *span2, int c1Index, int c2Index)
◆ finish()
Definition at line 1771 of file SkPathOpsTSect.cpp.
1771 {
1774 for (
int index = 0; index <
fUsed; ++index) {
1776 }
1777 SkTQSort<const SkClosestRecord>(closestPtrs.
begin(), closestPtrs.
end());
1778 for (
int index = 0; index <
fUsed; ++index) {
1780 test->addIntersection(intersections);
1781 }
1782 }
static const int kMaxIntersections
◆ fClosest
◆ fUsed
The documentation for this struct was generated from the following file: