diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2015-01-05 10:11:47 -0800 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2015-01-05 10:11:47 -0800 |
commit | 07f10ae2eede1ad1fbb4424064eaaaa77dfb90d2 (patch) | |
tree | 94b66b4acb8a6f2f20a292505e6bfb79acb79085 /core/include/fxcodec | |
parent | d66051b5edfee0279b504b49f7d167f03c17c6dd (diff) | |
download | pdfium-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 'core/include/fxcodec')
0 files changed, 0 insertions, 0 deletions