OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ | 5 #ifndef SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ |
6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ | 6 #define SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "skia/ext/platform_device.h" | 10 #include "skia/ext/platform_device.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual void DrawToNativeContext(HDC dc, int x, int y, | 35 virtual void DrawToNativeContext(HDC dc, int x, int y, |
36 const RECT* src_rect) OVERRIDE; | 36 const RECT* src_rect) OVERRIDE; |
37 // SkBaseDevice methods. | 37 // SkBaseDevice methods. |
38 virtual uint32_t getDeviceCapabilities(); | 38 virtual uint32_t getDeviceCapabilities(); |
39 virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; | 39 virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; |
40 virtual void drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, | 40 virtual void drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, |
41 size_t count, const SkPoint[], | 41 size_t count, const SkPoint[], |
42 const SkPaint& paint) OVERRIDE; | 42 const SkPaint& paint) OVERRIDE; |
43 virtual void drawRect(const SkDraw& draw, const SkRect& r, | 43 virtual void drawRect(const SkDraw& draw, const SkRect& r, |
44 const SkPaint& paint) OVERRIDE; | 44 const SkPaint& paint) OVERRIDE; |
| 45 virtual void drawRRect(const SkDraw&, const SkRRect& rr, |
| 46 const SkPaint& paint) OVERRIDE; |
45 virtual void drawPath(const SkDraw& draw, const SkPath& path, | 47 virtual void drawPath(const SkDraw& draw, const SkPath& path, |
46 const SkPaint& paint, | 48 const SkPaint& paint, |
47 const SkMatrix* prePathMatrix = NULL, | 49 const SkMatrix* prePathMatrix = NULL, |
48 bool pathIsMutable = false) OVERRIDE; | 50 bool pathIsMutable = false) OVERRIDE; |
49 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, | 51 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, |
50 const SkRect* src, const SkRect& dst, | 52 const SkRect* src, const SkRect& dst, |
51 const SkPaint& paint, | 53 const SkPaint& paint, |
52 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE; | 54 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE; |
53 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, | 55 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, |
54 const SkMatrix& matrix, | 56 const SkMatrix& matrix, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 136 |
135 typedef void (*SkiaEnsureTypefaceCharactersAccessible) | 137 typedef void (*SkiaEnsureTypefaceCharactersAccessible) |
136 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); | 138 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); |
137 | 139 |
138 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( | 140 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( |
139 SkiaEnsureTypefaceCharactersAccessible func); | 141 SkiaEnsureTypefaceCharactersAccessible func); |
140 | 142 |
141 } // namespace skia | 143 } // namespace skia |
142 | 144 |
143 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ | 145 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ |
OLD | NEW |