HomeSort by relevance Sort by last modified time
    Searched refs:SkOpSegment (Results 1 - 25 of 43) sorted by null

1 2

  /external/chromium_org/third_party/skia/src/pathops/
SkOpSpan.h 13 class SkOpSegment;
19 SkOpSegment* fOther;
37 const SkOpSegment* debugToSegment(ptrdiff_t* ) const;
SkPathOpsCommon.h 18 SkOpSegment* FindChase(SkTDArray<SkOpSpan*>* chase, int* tIndex, int* endIndex);
19 SkOpSegment* FindSortableTop(const SkTArray<SkOpContour*, true>& , SkOpAngle::IncludeType ,
22 SkOpSegment* FindUndone(SkTArray<SkOpContour*, true>& contourList, int* start, int* end);
SkOpSegment.h 24 class SkOpSegment {
26 SkOpSegment() {
32 bool operator<(const SkOpSegment& rh) const {
41 const SkOpSegment* fSegment;
42 const SkOpSegment* fOther1;
43 const SkOpSegment* fOther2;
202 const SkOpAngle* cAngle = (const_cast<const SkOpSegment*>(this))->spanToAngle(tStart, tEnd);
283 int addT(SkOpSegment* other, const SkPoint& pt, double newT);
284 void addTCancel(const SkPoint& startPt, const SkPoint& endPt, SkOpSegment* other);
286 SkOpSegment* other)
    [all...]
SkOpContour.h 10 #include "SkOpSegment.h"
90 void align(const SkOpSegment::AlignedSpan& aligned, bool swap, SkCoincidence* coincidence);
91 void alignCoincidence(const SkOpSegment::AlignedSpan& aligned,
94 void alignCoincidence(const SkOpSegment::AlignedSpan& aligned) {
99 void alignMultiples(SkTDArray<SkOpSegment::AlignedSpan>* aligned) {
102 SkOpSegment& segment = fSegments[sIndex];
123 SkOpSegment& segment = fSegments[sIndex];
136 SkOpSegment* segment = &fSegments[sIndex];
150 SkOpSegment& segment = fSegments[sIndex];
161 SkOpSegment& segment = fSegments[sIndex]
    [all...]
SkOpAngle.h 13 class SkOpSegment;
53 void set(const SkOpSegment* segment, int start, int end);
59 SkOpSegment* segment() const {
60 return const_cast<SkOpSegment*>(fSegment);
86 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const;
125 const SkOpSegment* fSegment;
SkOpSegment.cpp 9 #include "SkOpSegment.h"
41 const SkOpAngle* SkOpSegment::activeAngle(int index, int* start, int* end, bool* done,
69 const SkOpAngle* SkOpSegment::activeAngleInner(int index, int* start, int* end, bool* done,
111 const SkOpAngle* SkOpSegment::activeAngleOther(int index, int* start, int* end, bool* done,
114 SkOpSegment* other = span->fOther;
119 SkPoint SkOpSegment::activeLeftTop(int* firstT) const {
160 bool SkOpSegment::activeOp(int index, int endIndex, int xorMiMask, int xorSuMask, SkPathOp op) {
169 bool SkOpSegment::activeOp(int xorMiMask, int xorSuMask, int index, int endIndex, SkPathOp op,
198 bool SkOpSegment::activeWinding(int index, int endIndex) {
203 bool SkOpSegment::activeWinding(int index, int endIndex, int* sumWinding)
    [all...]
SkPathOpsDebug.cpp 103 #include "SkOpSegment.h"
159 const SkOpSegment* segment = next->fSegment;
187 const SkOpSegment* segment = next->fSegment;
232 const SkOpSegment* segment = next->fSegment;
262 bool useInner = SkOpSegment::UseInnerWinding(lastWinding, winding);
264 bool oppUseInner = SkOpSegment::UseInnerWinding(lastOppWinding, oppWinding);
293 bool SkOpSegment::controlsContainedByEnds(int tStart, int tEnd) const {
304 void SkOpSegment::debugAddTPair(double t, const SkOpSegment& other, double otherT) const {
315 void SkOpSegment::debugCheckPointsEqualish(int tStart, int tEnd) const
    [all...]
SkOpContour.cpp 42 SkOpSegment* SkOpContour::nonVerticalSegment(int* start, int* end) {
46 SkOpSegment* testSegment = fSortedSegments[sortedIndex];
67 SkOpSegment& thisOne = fSegments[thisIndex];
70 SkOpSegment& other = otherContour->fSegments[otherIndex];
188 void SkOpContour::align(const SkOpSegment::AlignedSpan& aligned, bool swap,
201 void SkOpContour::alignCoincidence(const SkOpSegment::AlignedSpan& aligned,
207 const SkOpSegment* thisOne = &fSegments[thisIndex];
210 const SkOpSegment* other = &otherContour->fSegments[otherIndex];
231 const SkOpSegment& segment = fSegments[index];
355 SkOpSegment* segment1 = &contour1->fSegments[seg1Index]
    [all...]
SkPathOpsCommon.cpp 14 SkTDArray<SkOpSegment::AlignedSpan>* aligned) {
25 const SkTDArray<SkOpSegment::AlignedSpan>& aligned) {
36 static int contourRangeCheckY(const SkTArray<SkOpContour*, true>& contourList, SkOpSegment** currentPtr,
42 const SkOpSegment* current = *currentPtr;
47 SkOpSegment* bestSeg = NULL;
62 SkOpSegment* testSeg = &contour->segments()[test];
124 SkOpSegment* FindUndone(SkTArray<SkOpContour*, true>& contourList, int* start, int* end) {
126 SkOpSegment* result;
137 SkOpSegment* FindChase(SkTDArray<SkOpSpan*>* chase, int* tIndex, int* endIndex) {
142 SkOpSegment* segment = backPtr.fOther
    [all...]
SkPathOpsSimplify.cpp 24 SkOpSegment* current = FindSortableTop(contourList, SkOpAngle::kUnaryWinding, &firstContour,
47 SkOpSegment* next = current->findNextWinding(&chase, &nextStart, &nextEnd,
106 SkOpSegment* current;
120 SkOpSegment* next = current->findNextXor(&nextStart, &nextEnd, &unsortable);
SkPathOpsOp.cpp 12 static SkOpSegment* findChaseOp(SkTDArray<SkOpSpan*>& chase, int* tIndex, int* endIndex) {
17 SkOpSegment* segment = backPtr.fOther;
62 SkOpSegment* first = NULL;
134 SkOpSegment* current = FindSortableTop(contourList, SkOpAngle::kBinarySingle, &firstContour,
164 SkOpSegment* next = current->findNextOp(&chase, &nextStart, &nextEnd,
  /external/skia/src/pathops/
SkOpSpan.h 13 class SkOpSegment;
19 SkOpSegment* fOther;
37 const SkOpSegment* debugToSegment(ptrdiff_t* ) const;
SkPathOpsCommon.h 18 SkOpSegment* FindChase(SkTDArray<SkOpSpan*>* chase, int* tIndex, int* endIndex);
19 SkOpSegment* FindSortableTop(const SkTArray<SkOpContour*, true>& , SkOpAngle::IncludeType ,
22 SkOpSegment* FindUndone(SkTArray<SkOpContour*, true>& contourList, int* start, int* end);
SkOpSegment.h 24 class SkOpSegment {
26 SkOpSegment() {
32 bool operator<(const SkOpSegment& rh) const {
41 const SkOpSegment* fSegment;
42 const SkOpSegment* fOther1;
43 const SkOpSegment* fOther2;
202 const SkOpAngle* cAngle = (const_cast<const SkOpSegment*>(this))->spanToAngle(tStart, tEnd);
283 int addT(SkOpSegment* other, const SkPoint& pt, double newT);
284 void addTCancel(const SkPoint& startPt, const SkPoint& endPt, SkOpSegment* other);
286 SkOpSegment* other)
    [all...]
SkOpContour.h 10 #include "SkOpSegment.h"
90 void align(const SkOpSegment::AlignedSpan& aligned, bool swap, SkCoincidence* coincidence);
91 void alignCoincidence(const SkOpSegment::AlignedSpan& aligned,
94 void alignCoincidence(const SkOpSegment::AlignedSpan& aligned) {
99 void alignMultiples(SkTDArray<SkOpSegment::AlignedSpan>* aligned) {
102 SkOpSegment& segment = fSegments[sIndex];
123 SkOpSegment& segment = fSegments[sIndex];
136 SkOpSegment* segment = &fSegments[sIndex];
150 SkOpSegment& segment = fSegments[sIndex];
161 SkOpSegment& segment = fSegments[sIndex]
    [all...]
SkOpAngle.h 13 class SkOpSegment;
53 void set(const SkOpSegment* segment, int start, int end);
59 SkOpSegment* segment() const {
60 return const_cast<SkOpSegment*>(fSegment);
86 void dumpTo(const SkOpSegment* fromSeg, const SkOpAngle* ) const;
125 const SkOpSegment* fSegment;
SkOpSegment.cpp 9 #include "SkOpSegment.h"
41 const SkOpAngle* SkOpSegment::activeAngle(int index, int* start, int* end, bool* done,
69 const SkOpAngle* SkOpSegment::activeAngleInner(int index, int* start, int* end, bool* done,
111 const SkOpAngle* SkOpSegment::activeAngleOther(int index, int* start, int* end, bool* done,
114 SkOpSegment* other = span->fOther;
119 SkPoint SkOpSegment::activeLeftTop(int* firstT) const {
160 bool SkOpSegment::activeOp(int index, int endIndex, int xorMiMask, int xorSuMask, SkPathOp op) {
169 bool SkOpSegment::activeOp(int xorMiMask, int xorSuMask, int index, int endIndex, SkPathOp op,
198 bool SkOpSegment::activeWinding(int index, int endIndex) {
203 bool SkOpSegment::activeWinding(int index, int endIndex, int* sumWinding)
    [all...]
SkPathOpsDebug.cpp 103 #include "SkOpSegment.h"
159 const SkOpSegment* segment = next->fSegment;
187 const SkOpSegment* segment = next->fSegment;
232 const SkOpSegment* segment = next->fSegment;
262 bool useInner = SkOpSegment::UseInnerWinding(lastWinding, winding);
264 bool oppUseInner = SkOpSegment::UseInnerWinding(lastOppWinding, oppWinding);
293 bool SkOpSegment::controlsContainedByEnds(int tStart, int tEnd) const {
304 void SkOpSegment::debugAddTPair(double t, const SkOpSegment& other, double otherT) const {
315 void SkOpSegment::debugCheckPointsEqualish(int tStart, int tEnd) const
    [all...]
SkOpContour.cpp 42 SkOpSegment* SkOpContour::nonVerticalSegment(int* start, int* end) {
46 SkOpSegment* testSegment = fSortedSegments[sortedIndex];
67 SkOpSegment& thisOne = fSegments[thisIndex];
70 SkOpSegment& other = otherContour->fSegments[otherIndex];
188 void SkOpContour::align(const SkOpSegment::AlignedSpan& aligned, bool swap,
201 void SkOpContour::alignCoincidence(const SkOpSegment::AlignedSpan& aligned,
207 const SkOpSegment* thisOne = &fSegments[thisIndex];
210 const SkOpSegment* other = &otherContour->fSegments[otherIndex];
231 const SkOpSegment& segment = fSegments[index];
355 SkOpSegment* segment1 = &contour1->fSegments[seg1Index]
    [all...]
SkPathOpsCommon.cpp 14 SkTDArray<SkOpSegment::AlignedSpan>* aligned) {
25 const SkTDArray<SkOpSegment::AlignedSpan>& aligned) {
36 static int contourRangeCheckY(const SkTArray<SkOpContour*, true>& contourList, SkOpSegment** currentPtr,
42 const SkOpSegment* current = *currentPtr;
47 SkOpSegment* bestSeg = NULL;
62 SkOpSegment* testSeg = &contour->segments()[test];
124 SkOpSegment* FindUndone(SkTArray<SkOpContour*, true>& contourList, int* start, int* end) {
126 SkOpSegment* result;
137 SkOpSegment* FindChase(SkTDArray<SkOpSpan*>* chase, int* tIndex, int* endIndex) {
142 SkOpSegment* segment = backPtr.fOther
    [all...]
SkPathOpsSimplify.cpp 24 SkOpSegment* current = FindSortableTop(contourList, SkOpAngle::kUnaryWinding, &firstContour,
47 SkOpSegment* next = current->findNextWinding(&chase, &nextStart, &nextEnd,
106 SkOpSegment* current;
120 SkOpSegment* next = current->findNextXor(&nextStart, &nextEnd, &unsortable);
  /external/chromium_org/third_party/skia/tests/
PathOpsDebug.cpp 3 #include "SkOpSegment.h"
88 void SkOpAngle::dumpTo(const SkOpSegment* segment, const SkOpAngle* to) const {
140 SkDebugf(" [%d] ((SkOpSegment*) 0x%p) [%d]\n", test, &fSegments[test],
156 const SkOpSegment& s1 = fSegments[thisIndex];
158 const SkOpSegment& s2 = coin.fOther->fSegments[otherIndex];
159 SkDebugf("((SkOpSegment*) 0x%p) [%d] ((SkOpSegment*) 0x%p) [%d]\n", &s1, s1.debugID(),
191 const SkOpSegment& segment = fSegments[test];
210 const SkOpSegment& segment = fSegments[test];
311 const SkTDArray<SkOpSpan>& SkOpSegment::debugSpans() const
    [all...]
PathOpsAngleTest.cpp 9 #include "SkOpSegment.h"
217 static void ConstructCubic(SkOpSegment* segment, SkPoint shortCubic[4]) {
221 static void ConstructLine(SkOpSegment* segment, SkPoint shortLine[2]) {
225 static void ConstructQuad(SkOpSegment* segment, SkPoint shortQuad[3]) {
229 static void DebugReset(SkOpSegment* segment) {
249 SkOpSegment segment[2];
405 SkOpSegment segment[3];
454 void SkOpSegment::debugConstruct() {
460 void SkOpSegment::debugAddAngle(int start, int end) {
466 void SkOpSegment::debugConstructCubic(SkPoint shortQuad[4])
    [all...]
  /external/skia/tests/
PathOpsDebug.cpp 3 #include "SkOpSegment.h"
88 void SkOpAngle::dumpTo(const SkOpSegment* segment, const SkOpAngle* to) const {
140 SkDebugf(" [%d] ((SkOpSegment*) 0x%p) [%d]\n", test, &fSegments[test],
156 const SkOpSegment& s1 = fSegments[thisIndex];
158 const SkOpSegment& s2 = coin.fOther->fSegments[otherIndex];
159 SkDebugf("((SkOpSegment*) 0x%p) [%d] ((SkOpSegment*) 0x%p) [%d]\n", &s1, s1.debugID(),
191 const SkOpSegment& segment = fSegments[test];
210 const SkOpSegment& segment = fSegments[test];
311 const SkTDArray<SkOpSpan>& SkOpSegment::debugSpans() const
    [all...]
PathOpsAngleTest.cpp 9 #include "SkOpSegment.h"
217 static void ConstructCubic(SkOpSegment* segment, SkPoint shortCubic[4]) {
221 static void ConstructLine(SkOpSegment* segment, SkPoint shortLine[2]) {
225 static void ConstructQuad(SkOpSegment* segment, SkPoint shortQuad[3]) {
229 static void DebugReset(SkOpSegment* segment) {
249 SkOpSegment segment[2];
405 SkOpSegment segment[3];
454 void SkOpSegment::debugConstruct() {
460 void SkOpSegment::debugAddAngle(int start, int end) {
466 void SkOpSegment::debugConstructCubic(SkPoint shortQuad[4])
    [all...]

Completed in 466 milliseconds

1 2