aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-01-09 16:56:46 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-09 22:01:48 +0000
commitd8a39a08fef044140db0325cfe81fd4a23c92e27 (patch)
treebd41553806c8ecbb16fd8fc4791ef02fdd5f937b /src/pathops
parentf581777217ed21713a9892075816644cdea9efdd (diff)
fix external link in comment
update link to one that is accessible by all TBR=iclelland@google.com NOTRY=true Change-Id: Ib8fb6d05779d863641d323311435dbbb5807eeee Reviewed-on: https://skia-review.googlesource.com/92685 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'src/pathops')
-rw-r--r--src/pathops/SkPathOpsOp.cpp5
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