summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-02-08 12:13:20 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-08 18:49:47 +0000
commit0fc185ea8a3a7028e566c05cc323e50ebce32d62 (patch)
treed98b4bb41b1fc82bc38cbdcc1ef865094010bca9 /xfa/fxgraphics
parent36c18c872addaa2d5cc36d1b218f8d2dc22a38be (diff)
downloadpdfium-0fc185ea8a3a7028e566c05cc323e50ebce32d62.tar.xz
Add EmbedderTest for adding and filling paths
The PathObject uses GraphState to obtain the bounding box, so I set defaults, according to Table 4.2 of PDF spec 1.7. Not testing stroke for now because the default line width seems to be too small and is not being rendered. Methodology: add the test methods to the RenderPage method in pdfium_test, and run with --png and --md5. Check that the png is reasonable with respect to the expected result, and use the output md5 on the embeddertest. BUG=pdfium:661 Change-Id: I674fe3a68374c8d58cd99aaf9dad66e29e057281 Reviewed-on: https://pdfium-review.googlesource.com/2554 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxgraphics')
0 files changed, 0 insertions, 0 deletions