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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 // Previously selected brush before the current drawing. | 121 // Previously selected brush before the current drawing. |
122 HGDIOBJ previous_brush_; | 122 HGDIOBJ previous_brush_; |
123 | 123 |
124 // Previously selected pen before the current drawing. | 124 // Previously selected pen before the current drawing. |
125 HGDIOBJ previous_pen_; | 125 HGDIOBJ previous_pen_; |
126 | 126 |
127 DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceEmf); | 127 DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceEmf); |
128 }; | 128 }; |
129 | 129 |
| 130 typedef void (*SkiaEnsureTypefaceCharactersAccessible) |
| 131 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); |
| 132 |
| 133 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( |
| 134 SkiaEnsureTypefaceCharactersAccessible func); |
| 135 |
130 } // namespace skia | 136 } // namespace skia |
131 | 137 |
132 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ | 138 #endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_ |
OLD | NEW |