OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "skia/ext/vector_platform_device_emf_win.h" | 5 #include "skia/ext/vector_platform_device_emf_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "skia/ext/bitmap_platform_device.h" | 11 #include "skia/ext/bitmap_platform_device.h" |
12 #include "skia/ext/skia_utils_win.h" | 12 #include "skia/ext/skia_utils_win.h" |
13 #include "third_party/skia/include/core/SkFontHost.h" | 13 #include "third_party/skia/include/core/SkFontHost.h" |
14 #include "third_party/skia/include/core/SkPathEffect.h" | 14 #include "third_party/skia/include/core/SkPathEffect.h" |
15 #include "third_party/skia/include/core/SkTemplates.h" | 15 #include "third_party/skia/include/core/SkTemplates.h" |
16 #include "third_party/skia/include/core/SkUtils.h" | 16 #include "third_party/skia/include/core/SkUtils.h" |
17 #include "third_party/skia/include/ports/SkTypeface_win.h" | 17 #include "third_party/skia/include/ports/SkTypeface_win.h" |
18 | 18 |
19 namespace skia { | 19 namespace skia { |
20 | 20 |
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 pixels, | 978 pixels, |
979 reinterpret_cast<const BITMAPINFO*>(&hdr), | 979 reinterpret_cast<const BITMAPINFO*>(&hdr), |
980 DIB_RGB_COLORS, | 980 DIB_RGB_COLORS, |
981 SRCCOPY); | 981 SRCCOPY); |
982 } | 982 } |
983 EndPlatformPaint(); | 983 EndPlatformPaint(); |
984 Cleanup(); | 984 Cleanup(); |
985 } | 985 } |
986 | 986 |
987 } // namespace skia | 987 } // namespace skia |
OLD | NEW |