Chromium Code Reviews
DescriptionIn 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
Committed: https://pdfium.googlesource.com/pdfium/+/07f10ae2eede1ad1fbb4424064eaaaa77dfb90d2
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|
|||||||||||||||||||