summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-08-29 21:23:38 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-29 21:23:38 +0000
commit9e90e7987de10832b505cc0b46abf502b6f5eb7a (patch)
tree920e1502184d8d48c4b1007058293f2d9a149a44 /fpdfsdk/cpdfsdk_widget.h
parent456e9703276d803f633d5e8a6b5ee485f4e4207a (diff)
downloadpdfium-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 'fpdfsdk/cpdfsdk_widget.h')
0 files changed, 0 insertions, 0 deletions