diff options
Diffstat (limited to 'skia/ext/bitmap_platform_device_linux.cc')
-rw-r--r-- | skia/ext/bitmap_platform_device_linux.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/skia/ext/bitmap_platform_device_linux.cc b/skia/ext/bitmap_platform_device_linux.cc index 69f8058..60feb45 100644 --- a/skia/ext/bitmap_platform_device_linux.cc +++ b/skia/ext/bitmap_platform_device_linux.cc @@ -142,6 +142,14 @@ BitmapPlatformDevice::BitmapPlatformDevice( BitmapPlatformDevice::~BitmapPlatformDevice() { } +SkDeviceFactory* BitmapPlatformDevice::getDeviceFactory() { + return SkNEW(BitmapPlatformDeviceFactory); +} + +bool BitmapPlatformDevice::IsVectorial() { + return false; +} + cairo_t* BitmapPlatformDevice::beginPlatformPaint() { data_->LoadConfig(); cairo_t* cairo = data_->bitmap_context(); |