diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-08-29 21:23:38 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-29 21:23:38 +0000 |
commit | 9e90e7987de10832b505cc0b46abf502b6f5eb7a (patch) | |
tree | 920e1502184d8d48c4b1007058293f2d9a149a44 /fxjs/cjs_color.cpp | |
parent | 456e9703276d803f633d5e8a6b5ee485f4e4207a (diff) | |
download | pdfium-9e90e7987de10832b505cc0b46abf502b6f5eb7a.tar.xz |
Fix radial shading when center of start point is on the border of an end circle.
Radial shading is done between two circles with their own centers and
radii. When one has a radius of 0 and is located on or very close to
the border of the other circle, a should be 0, but is not due to
rounding errors unless the circles are aligned in x or y.
Bug: pdfium:1140
Change-Id: Ief2efa91f3f16f7bed439aa471b258fa4d680acf
Reviewed-on: https://pdfium-review.googlesource.com/41590
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxjs/cjs_color.cpp')
0 files changed, 0 insertions, 0 deletions