| Index: skia/ext/platform_canvas.h
|
| diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h
|
| index f877716b3106c707813aba1765b7b5b60094108c..1436ec1fef6a7cdd08ca3802b6f91e2a1d85805e 100644
|
| --- a/skia/ext/platform_canvas.h
|
| +++ b/skia/ext/platform_canvas.h
|
| @@ -61,6 +61,10 @@ SK_API void DrawToNativeContext(SkCanvas* canvas,
|
| int x,
|
| int y,
|
| const RECT* src_rect);
|
| +
|
| +// Returns the NativeDrawingContext to use for native platform drawing calls.
|
| +SK_API HDC GetNativeDrawingContext(SkCanvas* canvas);
|
| +
|
| #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
| defined(__sun) || defined(ANDROID) || defined(__APPLE__)
|
| // Construct a canvas from the given memory region. The memory is not cleared
|
| @@ -121,9 +125,6 @@ SK_API SkBitmap ReadPixels(SkCanvas* canvas);
|
| // the pixmap to empty.
|
| SK_API bool GetWritablePixels(SkCanvas* canvas, SkPixmap* pixmap);
|
|
|
| -// Returns the NativeDrawingContext to use for native platform drawing calls.
|
| -SK_API NativeDrawingContext GetNativeDrawingContext(SkCanvas* canvas);
|
| -
|
| // Following routines are used in print preview workflow to mark the
|
| // preview metafile.
|
| SK_API SkMetaData& GetMetaData(const SkCanvas& canvas);
|
|
|