Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: skia/ext/vector_platform_device_emf_win.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/ext/platform_canvas_unittest.cc ('k') | skia/skia_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/strings/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"
14 #include "third_party/skia/include/core/SkPathEffect.h" 13 #include "third_party/skia/include/core/SkPathEffect.h"
15 #include "third_party/skia/include/core/SkTemplates.h" 14 #include "third_party/skia/include/core/SkTemplates.h"
16 #include "third_party/skia/include/core/SkUtils.h" 15 #include "third_party/skia/include/core/SkUtils.h"
17 #include "third_party/skia/include/ports/SkTypeface_win.h" 16 #include "third_party/skia/include/ports/SkTypeface_win.h"
18 17
19 namespace skia { 18 namespace skia {
20 19
21 #define CHECK_FOR_NODRAW_ANNOTATION(paint) \ 20 #define CHECK_FOR_NODRAW_ANNOTATION(paint) \
22 do { if (paint.isNoDrawAnnotation()) { return; } } while (0) 21 do { if (paint.isNoDrawAnnotation()) { return; } } while (0)
23 22
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 pixels, 973 pixels,
975 reinterpret_cast<const BITMAPINFO*>(&hdr), 974 reinterpret_cast<const BITMAPINFO*>(&hdr),
976 DIB_RGB_COLORS, 975 DIB_RGB_COLORS,
977 SRCCOPY); 976 SRCCOPY);
978 } 977 }
979 EndPlatformPaint(); 978 EndPlatformPaint();
980 Cleanup(); 979 Cleanup();
981 } 980 }
982 981
983 } // namespace skia 982 } // namespace skia
OLDNEW
« no previous file with comments | « skia/ext/platform_canvas_unittest.cc ('k') | skia/skia_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698