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

Unified Diff: skia/ext/platform_device_win.h

Issue 7465104: Remove dependency on VectorPlatformDeviceEmf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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: skia/ext/platform_device_win.h
===================================================================
--- skia/ext/platform_device_win.h (revision 95234)
+++ skia/ext/platform_device_win.h (working copy)
@@ -52,6 +52,9 @@
// Returns if GDI is allowed to render text to this device.
virtual bool IsNativeFontRenderingAllowed() { return true; }
+ // Used by the printing subclasses. See |VectorPlatformDeviceEmf|.
+ virtual bool AlphaBlendUsed() const { return false; }
alokp 2011/08/04 16:06:54 Could you add a comment what it means?
vandebo (ex-Chrome) 2011/08/04 16:28:44 In case you aren't sure... Some printers don't sup
Jeff Timanus 2011/08/04 16:30:33 Done.
+
// Loads a SkPath into the GDI context. The path can there after be used for
// clipping or as a stroke. Returns false if the path failed to be loaded.
static bool LoadPathToDC(HDC context, const SkPath& path);

Powered by Google App Engine
This is Rietveld 408576698