summaryrefslogtreecommitdiff
path: root/third_party/numerics/safe_math_impl.h
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2015-01-05 10:11:47 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2015-01-05 10:14:30 -0800
commit7b6bcab89016494fead0e1838623f272d6681546 (patch)
tree1f1dbabfadec97239e47d536ad23911d1074b1c6 /third_party/numerics/safe_math_impl.h
parentfef49bc5e23e860fc9d3529839d1a4eb684feafc (diff)
downloadpdfium-7b6bcab89016494fead0e1838623f272d6681546.tar.xz
XFA: merge patch from CL 826633002, fix windows printing black rectangle issue
In windows printing, convert src bitmap to dest bitmap using CompositeBitmap. When dealing with transparency, the printing procedure will generate a bitmap first, then draw this bitmap in windows DC. The format of source bitmap is argb, but the destination bitmap is rgb. Simply doing memcpy will lose the alpha channel information, so CompositeBitmap function is needed. BUG=412908 R=vitalybuka@chromium.org Review URL: https://codereview.chromium.org/826633002
Diffstat (limited to 'third_party/numerics/safe_math_impl.h')
0 files changed, 0 insertions, 0 deletions