| commit | 07f10ae2eede1ad1fbb4424064eaaaa77dfb90d2 | [log] [tgz] |
|---|---|---|
| author | Bo Xu <bo_xu@foxitsoftware.com> | Mon Jan 05 10:11:47 2015 -0800 |
| committer | Bo Xu <bo_xu@foxitsoftware.com> | Mon Jan 05 10:11:47 2015 -0800 |
| tree | 94b66b4acb8a6f2f20a292505e6bfb79acb79085 | |
| parent | d66051b5edfee0279b504b49f7d167f03c17c6dd [diff] |
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