summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtbuf.h
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-08-21 11:30:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-21 16:04:57 +0000
commit3b20ec77c760ef11dacf00a3e654d06cadf20c27 (patch)
tree2ee44b4a73de108545fc87f1fb46a8663f634372 /xfa/fde/cfde_txtedtbuf.h
parentf8f34bb2f481380f8528df937a50bdd2daf241d0 (diff)
downloadpdfium-3b20ec77c760ef11dacf00a3e654d06cadf20c27.tar.xz
Avoid annotation popups to be clipped at page edges
Currently, annotation popups are placed at a fixed location relative to the annotation. If an annotation is too much on the right or the bottom of the page, then its popup will be clipped at the edge of the page. This CL translates the popups appropriately to avoid getting clipped at page edges. Also, if an annotation is at the bottom-right corner of the page, then the popup is placed above and to the left of the annotation, instead of below and to the right of it. See a set of comparison screenshots here: https://drive.google.com/drive/folders/0B7Fvv7JszRyGZXZXR05yVEFWSlE?usp=sharing Bug=chromium:645367,pdfium:750 Change-Id: Ie048281e965523c292dcc704b51188d794f8877b Reviewed-on: https://pdfium-review.googlesource.com/11470 Commit-Queue: Jane Liu <janeliulwq@google.com> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedtbuf.h')
0 files changed, 0 insertions, 0 deletions