Chromium Code Reviews| 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); |