diff options
-rw-r--r-- | src/pathops/SkPathOpsOp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pathops/SkPathOpsOp.cpp b/src/pathops/SkPathOpsOp.cpp index dc8808c141..479b9a5c24 100644 --- a/src/pathops/SkPathOpsOp.cpp +++ b/src/pathops/SkPathOpsOp.cpp @@ -178,8 +178,9 @@ static bool bridgeOp(SkOpContourHead* contourList, const SkPathOp op, return true; } -// pretty picture: -// https://docs.google.com/a/google.com/drawings/d/1sPV8rPfpEFXymBp3iSbDRWAycp1b-7vD9JP2V-kn9Ss/edit?usp=sharing +// diagram of why this simplifcation is possible is here: +// https://skia.org/dev/present/pathops link at bottom of the page +// https://drive.google.com/file/d/0BwoLUwz9PYkHLWpsaXd0UDdaN00/view?usp=sharing static const SkPathOp gOpInverse[kReverseDifference_SkPathOp + 1][2][2] = { // inside minuend outside minuend // inside subtrahend outside subtrahend inside subtrahend outside subtrahend |