aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pipe/SkPipeCanvas.h
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-11-03 12:11:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-03 16:45:44 +0000
commit3e20d023bfa6e534ee0abacdba225dd140ae471c (patch)
tree17ac5df9132b07a7dcfd86c8dd541556c7b21ac2 /src/pipe/SkPipeCanvas.h
parentc2d18f34de6fc7a07d1ea8dd4ef7840a2b412f14 (diff)
Enforce gradient color stop monotonicity in ctor
From the SVG 1.1 spec: Each gradient offset value is required to be equal to or greater than the previous gradient stop's offset value. If a given gradient stop's offset value is not equal to or greater than all previous offset values, then the offset value is adjusted to be equal to the largest of all previous offset values. Change-Id: I797369a1e14dc776ceb6478ac9fcdd4792e65562 Reviewed-on: https://skia-review.googlesource.com/67761 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/pipe/SkPipeCanvas.h')
0 files changed, 0 insertions, 0 deletions