summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-12-12 10:21:19 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-12 10:21:19 -0800
commitb1125f8daf52c750f6b642a343195c70f47f49f1 (patch)
tree52445831a25392c52ffb4374039a68535d32e180 /tools
parent5dbb129eb0e9f2ba9f0b897fd0589ca28add195d (diff)
downloadpdfium-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 'tools')
0 files changed, 0 insertions, 0 deletions