Index: skia/ext/platform_device_linux.h |
=================================================================== |
--- skia/ext/platform_device_linux.h (revision 85672) |
+++ skia/ext/platform_device_linux.h (working copy) |
@@ -6,10 +6,9 @@ |
#define SKIA_EXT_PLATFORM_DEVICE_LINUX_H_ |
#pragma once |
+#include "skia/ext/platform_device.h" |
#include "third_party/skia/include/core/SkDevice.h" |
-typedef struct _cairo cairo_t; |
- |
namespace skia { |
// Blindly copying the mac hierarchy. |
@@ -26,6 +25,9 @@ |
virtual PlatformSurface BeginPlatformPaint() = 0; |
virtual void EndPlatformPaint(); |
+ virtual void DrawToNativeContext(PlatformSurface surface, int x, int y, |
+ const PlatformRect* src_rect ); |
+ |
protected: |
// Forwards |bitmap| to SkDevice's constructor. |
explicit PlatformDevice(const SkBitmap& bitmap); |