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 26 matching lines...) Expand all Loading... |
37 virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; | 37 virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) OVERRIDE; |
38 virtual void drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, | 38 virtual void drawPoints(const SkDraw& draw, SkCanvas::PointMode mode, |
39 size_t count, const SkPoint[], | 39 size_t count, const SkPoint[], |
40 const SkPaint& paint) OVERRIDE; | 40 const SkPaint& paint) OVERRIDE; |
41 virtual void drawRect(const SkDraw& draw, const SkRect& r, | 41 virtual void drawRect(const SkDraw& draw, const SkRect& r, |
42 const SkPaint& paint) OVERRIDE; | 42 const SkPaint& paint) OVERRIDE; |
43 virtual void drawPath(const SkDraw& draw, const SkPath& path, | 43 virtual void drawPath(const SkDraw& draw, const SkPath& path, |
44 const SkPaint& paint, | 44 const SkPaint& paint, |
45 const SkMatrix* prePathMatrix = NULL, | 45 const SkMatrix* prePathMatrix = NULL, |
46 bool pathIsMutable = false) OVERRIDE; | 46 bool pathIsMutable = false) OVERRIDE; |
| 47 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, |
| 48 const SkRect* src, const SkRect& dst, |
| 49 const SkPaint& paint) SK_OVERRIDE; |
47 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, | 50 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, |
48 const SkIRect* srcRectOrNull, | 51 const SkIRect* srcRectOrNull, |
49 const SkMatrix& matrix, | 52 const SkMatrix& matrix, |
50 const SkPaint& paint) OVERRIDE; | 53 const SkPaint& paint) OVERRIDE; |
51 virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap, | 54 virtual void drawSprite(const SkDraw& draw, const SkBitmap& bitmap, |
52 int x, int y, const SkPaint& paint) OVERRIDE; | 55 int x, int y, const SkPaint& paint) OVERRIDE; |
53 virtual void drawText(const SkDraw& draw, const void* text, size_t len, | 56 virtual void drawText(const SkDraw& draw, const void* text, size_t len, |
54 SkScalar x, SkScalar y, const SkPaint& paint) OVERRIDE; | 57 SkScalar x, SkScalar y, const SkPaint& paint) OVERRIDE; |
55 virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, | 58 virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, |
56 const SkScalar pos[], SkScalar constY, | 59 const SkScalar pos[], SkScalar constY, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 132 |
130 typedef void (*SkiaEnsureTypefaceCharactersAccessible) | 133 typedef void (*SkiaEnsureTypefaceCharactersAccessible) |
131 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); | 134 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); |
132 | 135 |
133 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( | 136 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( |
134 SkiaEnsureTypefaceCharactersAccessible func); | 137 SkiaEnsureTypefaceCharactersAccessible func); |
135 | 138 |
136 } // namespace skia | 139 } // namespace skia |
137 | 140 |
138 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ | 141 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ |
OLD | NEW |