summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_device_linux.h')
-rw-r--r--skia/ext/platform_device_linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h
index 3683b9b..51c292f 100644
--- a/skia/ext/platform_device_linux.h
+++ b/skia/ext/platform_device_linux.h
@@ -16,6 +16,9 @@ class PlatformDevice : public SkDevice {
public:
typedef cairo_t* PlatformSurface;
+ // Returns if native platform APIs are allowed to render text to this device.
+ virtual bool IsNativeFontRenderingAllowed();
+
virtual PlatformSurface BeginPlatformPaint() = 0;
virtual void EndPlatformPaint();