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,11 @@ |
// Returns if GDI is allowed to render text to this device. |
virtual bool IsNativeFontRenderingAllowed() { return true; } |
+ // True if AlphaBlend() was called during a |
+ // BeginPlatformPaint()/EndPlatformPaint() pair. |
+ // Used by the printing subclasses. See |VectorPlatformDeviceEmf|. |
+ virtual bool AlphaBlendUsed() const { return false; } |
+ |
// 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); |