Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: printing/emf_win.h

Issue 11078018: Restored partial rasterization for AlphaBlend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/emf_win.h
diff --git a/printing/emf_win.h b/printing/emf_win.h
index 080025061fe1d67693b810e1a3c432bbbe9d9f11..2f0772f3f8033430eda6dc84f9101b1d2a5f78df 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -98,6 +98,10 @@ class PRINTING_EXPORT Emf : public Metafile {
// metafile. Returns NULL if fails.
Emf* RasterizeMetafile(int raster_area_in_pixels) const;
+ // Returns new metafile where AlphaBlend replaced by bitmaps. Returns NULL
+ // if fails.
+ Emf* RasterizeAlphaBlend() const;
+
private:
FRIEND_TEST_ALL_PREFIXES(EmfTest, DC);
FRIEND_TEST_ALL_PREFIXES(EmfPrintingTest, PageBreak);

Powered by Google App Engine
This is Rietveld 408576698