diff options
Diffstat (limited to 'skia/ext/platform_device_win.h')
-rw-r--r-- | skia/ext/platform_device_win.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/ext/platform_device_win.h b/skia/ext/platform_device_win.h index 4b1e034a..57afa89 100644 --- a/skia/ext/platform_device_win.h +++ b/skia/ext/platform_device_win.h @@ -49,6 +49,9 @@ class SK_API PlatformDevice : public SkDevice { // Sets the opacity of each pixel in the specified region to be opaque. virtual void MakeOpaque(int x, int y, int width, int height) { } + // Returns if GDI is allowed to render text to this device. + virtual bool IsNativeFontRenderingAllowed() { return true; } + // 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); |