diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-12 16:34:40 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-12 16:34:40 +0000 |
commit | b2b0fceea58bf7e13cc73020133aff6d6b4f4640 (patch) | |
tree | 4e6991eb82096663c5072a3c28183036d1215acd /printing/print_settings.cc | |
parent | 76fcc3e9dc467366b9d1938834d7faff595ab873 (diff) | |
download | chromium_src-b2b0fceea58bf7e13cc73020133aff6d6b4f4640.zip chromium_src-b2b0fceea58bf7e13cc73020133aff6d6b4f4640.tar.gz chromium_src-b2b0fceea58bf7e13cc73020133aff6d6b4f4640.tar.bz2 |
When printing a page containing alpha blending on a printer which doesn't support alpha blending, post-process the
metafile to replace the AlphaBlend calls with BitBlts from a software-composited rendering of the page so far.
BUG=7434
TEST=see bug
Review URL: http://codereview.chromium.org/5362002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_settings.cc')
-rw-r--r-- | printing/print_settings.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/printing/print_settings.cc b/printing/print_settings.cc index cf8c50a..3f0f842 100644 --- a/printing/print_settings.cc +++ b/printing/print_settings.cc @@ -19,7 +19,8 @@ PrintSettings::PrintSettings() selection_only(false), use_overlays(true), dpi_(0), - landscape_(false) { + landscape_(false), + supports_alpha_blend_(true) { } PrintSettings::~PrintSettings() { @@ -36,6 +37,7 @@ void PrintSettings::Clear() { page_setup_device_units_.Clear(); dpi_ = 0; landscape_ = false; + supports_alpha_blend_ = true; } void PrintSettings::SetPrinterPrintableArea( |