summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_ext.cpp
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:11:47 -0800
commit07f10ae2eede1ad1fbb4424064eaaaa77dfb90d2 (patch)
tree94b66b4acb8a6f2f20a292505e6bfb79acb79085 /fpdfsdk/src/fpdf_ext.cpp
parentd66051b5edfee0279b504b49f7d167f03c17c6dd (diff)
downloadpdfium-07f10ae2eede1ad1fbb4424064eaaaa77dfb90d2.tar.xz
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 'fpdfsdk/src/fpdf_ext.cpp')
0 files changed, 0 insertions, 0 deletions