Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
SkOpCoincidence.cpp File Reference
#include "src/pathops/SkOpCoincidence.h"
#include "include/core/SkPoint.h"
#include "include/core/SkScalar.h"
#include "include/private/base/SkTDArray.h"
#include "src/base/SkArenaAlloc.h"
#include "src/pathops/SkIntersections.h"
#include "src/pathops/SkOpSegment.h"
#include "src/pathops/SkPathOpsCurve.h"
#include "src/pathops/SkPathOpsLine.h"
#include "src/pathops/SkPathOpsPoint.h"
#include <algorithm>

Go to the source code of this file.

Functions

static void DebugCheckAdd (const SkCoincidentSpans *check, const SkOpPtT *coinPtTStart, const SkOpPtT *coinPtTEnd, const SkOpPtT *oppPtTStart, const SkOpPtT *oppPtTEnd)
 

Function Documentation

◆ DebugCheckAdd()

static void DebugCheckAdd ( const SkCoincidentSpans check,
const SkOpPtT coinPtTStart,
const SkOpPtT coinPtTEnd,
const SkOpPtT oppPtTStart,
const SkOpPtT oppPtTEnd 
)
static

Definition at line 243 of file SkOpCoincidence.cpp.

244 {
245#if DEBUG_COINCIDENCE
246 while (check) {
247 SkASSERT(check->coinPtTStart() != coinPtTStart || check->coinPtTEnd() != coinPtTEnd
248 || check->oppPtTStart() != oppPtTStart || check->oppPtTEnd() != oppPtTEnd);
249 SkASSERT(check->coinPtTStart() != oppPtTStart || check->coinPtTEnd() != oppPtTEnd
250 || check->oppPtTStart() != coinPtTStart || check->oppPtTEnd() != coinPtTEnd);
251 check = check->next();
252 }
253#endif
254}
#define check(reporter, ref, unref, make, kill)
#define SkASSERT(cond)
Definition SkAssert.h:116