Lines Matching defs:const

20     const SkOpPtT* coinPtTEnd() const;
21 const SkOpPtT* coinPtTStart() const;
23 // These return non-const pointers so that, as copies, they can be added
25 SkOpPtT* coinPtTEndWritable() const { return const_cast<SkOpPtT*>(fCoinPtTEnd); }
26 SkOpPtT* coinPtTStartWritable() const { return const_cast<SkOpPtT*>(fCoinPtTStart); }
28 bool collapsed(const SkOpPtT* ) const;
29 bool contains(const SkOpPtT* s, const SkOpPtT* e) const;
31 void correctOneEnd(const SkOpPtT* (SkCoincidentSpans::* getEnd)() const,
32 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) );
35 void debugCorrectEnds(SkPathOpsDebug::GlitchLog* log) const;
37 const SkOpPtT* (SkCoincidentSpans::* getEnd)() const,
38 void (SkCoincidentSpans::* setEnd)(const SkOpPtT* ptT) const) const;
39 bool debugExpand(SkPathOpsDebug::GlitchLog* log) const;
42 const char* debugID() const {
50 void debugShow() const;
52 void debugStartCheck(const SkOpSpanBase* outer, const SkOpSpanBase* over,
53 const SkOpGlobalState* debugState) const;
55 void dump() const;
57 bool extend(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd,
58 const SkOpPtT* oppPtTStart, const SkOpPtT* oppPtTEnd);
59 bool flipped() const { return fOppPtTStart->fT > fOppPtTEnd->fT; }
68 const SkCoincidentSpans* next() const { return fNext; }
70 const SkOpPtT* oppPtTStart() const;
71 const SkOpPtT* oppPtTEnd() const;
72 // These return non-const pointers so that, as copies, they can be added
74 SkOpPtT* oppPtTStartWritable() const { return const_cast<SkOpPtT*>(fOppPtTStart); }
75 SkOpPtT* oppPtTEndWritable() const { return const_cast<SkOpPtT*>(fOppPtTEnd); }
76 bool ordered(bool* result) const;
78 void set(SkCoincidentSpans* next, const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd,
79 const SkOpPtT* oppPtTStart, const SkOpPtT* oppPtTEnd);
81 void setCoinPtTEnd(const SkOpPtT* ptT) {
89 void setCoinPtTStart(const SkOpPtT* ptT) {
97 void setEnds(const SkOpPtT* coinPtTEnd, const SkOpPtT* oppPtTEnd) {
102 void setOppPtTEnd(const SkOpPtT* ptT) {
110 void setOppPtTStart(const SkOpPtT* ptT) {
118 void setStarts(const SkOpPtT* coinPtTStart, const SkOpPtT* oppPtTStart) {
127 const SkOpPtT* fCoinPtTStart;
128 const SkOpPtT* fCoinPtTEnd;
129 const SkOpPtT* fOppPtTStart;
130 const SkOpPtT* fOppPtTEnd;
154 bool contains(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd,
155 const SkOpPtT* oppPtTStart, const SkOpPtT* oppPtTEnd) const;
159 void debugAddEndMovedSpans(SkPathOpsDebug::GlitchLog* log) const;
160 void debugAddExpanded(SkPathOpsDebug::GlitchLog* ) const;
161 void debugAddMissing(SkPathOpsDebug::GlitchLog* , bool* added) const;
163 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg,
165 bool* added) const;
168 const SkOpAngle* debugAngle(int id) const {
172 void debugCheckBetween() const;
175 void debugCheckValid(SkPathOpsDebug::GlitchLog* log) const;
178 SkOpContour* debugContour(int id) const {
183 void debugCorrectEnds(SkPathOpsDebug::GlitchLog* log) const;
184 bool debugExpand(SkPathOpsDebug::GlitchLog* ) const;
185 void debugMark(SkPathOpsDebug::GlitchLog* ) const;
187 const SkCoincidentSpans* coin, const SkOpPtT* test) const;
188 void debugMarkCollapsed(SkPathOpsDebug::GlitchLog* , const SkOpPtT* test) const;
191 const SkOpPtT* debugPtT(int id) const {
195 const SkOpSegment* debugSegment(int id) const {
200 void debugRelease(SkPathOpsDebug::GlitchLog* , const SkCoincidentSpans* ,
201 const SkCoincidentSpans* ) const;
202 void debugRelease(SkPathOpsDebug::GlitchLog* , const SkOpSegment* ) const;
204 void debugShowCoincidence() const;
206 const SkOpSpanBase* debugSpan(int id) const {
210 void debugValidate() const;
211 void dump() const;
213 bool extend(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd, const SkOpPtT* oppPtTStart,
214 const SkOpPtT* oppPtTEnd);
215 bool findOverlaps(SkOpCoincidence* DEBUG_COIN_DECLARE_PARAMS()) const;
216 void fixUp(SkOpPtT* deleted, const SkOpPtT* kept);
222 const SkOpGlobalState* globalState() const {
226 bool isEmpty() const {
233 static bool Ordered(const SkOpPtT* coinPtTStart, const SkOpPtT* oppPtTStart) {
237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp);
238 void release(const SkOpSegment* );
242 void add(const SkOpPtT* coinPtTStart, const SkOpPtT* coinPtTEnd, const SkOpPtT* oppPtTStart,
243 const SkOpPtT* oppPtTEnd) {
248 bool addEndMovedSpans(const SkOpSpan* base, const SkOpSpanBase* testSpan);
249 bool addEndMovedSpans(const SkOpPtT* ptT);
251 bool addIfMissing(const SkOpPtT* over1s, const SkOpPtT* over2s,
254 SkDEBUGPARAMS(const SkOpPtT* over1e) SkDEBUGPARAMS(const SkOpPtT* over2e));
257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o,
258 const SkOpSegment* seg2, const SkOpSegment* seg2o,
259 const SkOpPtT* overS, const SkOpPtT* overE);
261 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg,
263 SkTDArray<SkCoincidentSpans*>* overlaps) const;
264 bool contains(const SkOpSegment* seg, const SkOpSegment* opp, double oppT) const;
265 bool contains(const SkCoincidentSpans* coin, const SkOpSegment* seg,
266 const SkOpSegment* opp, double oppT) const;
269 const SkCoincidentSpans* outer, const SkOpPtT* over1s,
270 const SkOpPtT* over1e) const;
272 const SkOpPtT* over1s, const SkOpPtT* over2s,
274 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg, bool* added,
275 const SkOpPtT* over1e, const SkOpPtT* over2e) const;
277 const SkOpSpan* base, const SkOpSpanBase* testSpan) const;
279 const SkOpPtT* ptT) const;
281 void fixUp(SkCoincidentSpans* coin, SkOpPtT* deleted, const SkOpPtT* kept);
283 bool overlap(const SkOpPtT* coinStart1, const SkOpPtT* coinEnd1,
284 const SkOpPtT* coinStart2, const SkOpPtT* coinEnd2,
285 double* overS, double* overE) const;
290 static double TRange(const SkOpPtT* overS, double t, const SkOpSegment* coinPtT
291 SkDEBUGPARAMS(const SkOpPtT* overE));