summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-08-16 13:24:58 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-16 17:47:33 +0000
commitb370e5a8f8df8cd6827ddb99b958d6a00642035e (patch)
treeaa22efaece1304a928e9d0f6765334f9cf4ff3cb /test
parent816d7e4a0dccc049a1defe8a17e1b05c211665e1 (diff)
downloadpdfium-b370e5a8f8df8cd6827ddb99b958d6a00642035e.tar.xz
Fixed the return values of FPDFAnnot_Get{Rect|AttachmentPoints}
Currently, FPDFAnnot_Get{Rect|AttachmentPoints} would return BBox if the annotation's appearance stream is defined, which does not make much sense to the user since BBox is defined in the form space; upon rendering, the annotation's position in the device space is solely defined by its rectangle. This CL removes references to BBox in FPDFAnnot_Get{Rect| AttachmentPoints}; instead, they will only return rectangle or quadpoints as requested. The embedder test is also modified to reflect this change, and also to demonstrate that an annotation's position is changed only if its rectangle is changed. Bug=pdfium:861 Change-Id: I489876511aa5d93131dd695170d46bbc49d16574 Reviewed-on: https://pdfium-review.googlesource.com/11050 Commit-Queue: Jane Liu <janeliulwq@google.com> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions