| Index: skia/ext/platform_device.h
|
| diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
|
| index 7e77ff1a4c7493ac494c23ff795c0d4d804a5118..84861020b3b0641b07237e3d016f059aee292ebe 100644
|
| --- a/skia/ext/platform_device.h
|
| +++ b/skia/ext/platform_device.h
|
| @@ -113,14 +113,6 @@ class SK_API PlatformDevice {
|
| // Finish a previous call to beginPlatformPaint.
|
| virtual void EndPlatformPaint();
|
|
|
| - // Draws to the given screen DC, if the bitmap DC doesn't exist, this will
|
| - // temporarily create it. However, if you have created the bitmap DC, it will
|
| - // be more efficient if you don't free it until after this call so it doesn't
|
| - // have to be created twice. If src_rect is null, then the entirety of the
|
| - // source device will be copied.
|
| - virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
|
| - const PlatformRect* src_rect) = 0;
|
| -
|
| // Returns true if GDI operations can be used for drawing into the bitmap.
|
| virtual bool SupportsPlatformPaint();
|
|
|
| @@ -132,6 +124,14 @@ class SK_API PlatformDevice {
|
| // Loads a SkRegion into the GDI context.
|
| static void LoadClippingRegionToDC(HDC context, const SkRegion& region,
|
| const SkMatrix& transformation);
|
| +
|
| + // Draws to the given screen DC, if the bitmap DC doesn't exist, this will
|
| + // temporarily create it. However, if you have created the bitmap DC, it will
|
| + // be more efficient if you don't free it until after this call so it doesn't
|
| + // have to be created twice. If src_rect is null, then the entirety of the
|
| + // source device will be copied.
|
| + virtual void DrawToHDC(HDC, int x, int y, const RECT* src_rect);
|
| +
|
| #elif defined(OS_MACOSX)
|
| // Loads a SkPath into the CG context. The path can there after be used for
|
| // clipping or as a stroke.
|
|
|