diff options
Diffstat (limited to 'skia/ext/platform_device_linux.h')
-rw-r--r-- | skia/ext/platform_device_linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h index 0408f17..b1b67dd 100644 --- a/skia/ext/platform_device_linux.h +++ b/skia/ext/platform_device_linux.h @@ -20,6 +20,9 @@ class PlatformDevice : public SkDevice { // Returns if the preferred rendering engine is vectorial or bitmap based. virtual bool IsVectorial() = 0; + // Returns if native platform APIs are allowed to render text to this device. + virtual bool IsNativeFontRenderingAllowed() { return true; } + virtual PlatformSurface beginPlatformPaint() = 0; protected: |