diff options
author | weili <weili@chromium.org> | 2016-12-12 10:21:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-12 10:21:19 -0800 |
commit | b1125f8daf52c750f6b642a343195c70f47f49f1 (patch) | |
tree | 52445831a25392c52ffb4374039a68535d32e180 /test/barcode_test.pdf | |
parent | 5dbb129eb0e9f2ba9f0b897fd0589ca28add195d (diff) | |
download | pdfium-b1125f8daf52c750f6b642a343195c70f47f49f1.tar.xz |
Fix dotted line drawing for GDI device driver
When GDI device driver draws a dotted line, it also clip the line
into the device context's bound before drawing. This CL includes
a couple fixes:
-- When this driver is used for EMF drawing, the drawing is not
bound to the device context so clipping is not needed;
-- Transformation needs to be applied before clipping since the
transformation may move the line into the bound;
-- While checking for out-of-bound flags, bit operations are needed
to make sure the discarded line is completely out of bound, not
partially inside the bound;
BUG=chromium:539533
Review-Url: https://codereview.chromium.org/2562533002
Diffstat (limited to 'test/barcode_test.pdf')
0 files changed, 0 insertions, 0 deletions