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

Side by Side Diff: include/ports/SkTypeface_win.h

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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 | « include/gpu/GrTypes.h ('k') | include/private/SkLeanWindows.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkTypeface_win_DEFINED 8 #ifndef SkTypeface_win_DEFINED
9 #define SkTypeface_win_DEFINED 9 #define SkTypeface_win_DEFINED
10 10
11 #include "../private/SkLeanWindows.h"
11 #include "SkTypeface.h" 12 #include "SkTypeface.h"
12 13
13 #ifdef SK_BUILD_FOR_WIN 14 #ifdef SK_BUILD_FOR_WIN
14 15
15 /** 16 /**
16 * Like the other Typeface create methods, this returns a new reference to the 17 * Like the other Typeface create methods, this returns a new reference to the
17 * corresponding typeface for the specified logfont. The caller is responsible 18 * corresponding typeface for the specified logfont. The caller is responsible
18 * for calling unref() when it is finished. 19 * for calling unref() when it is finished.
19 */ 20 */
20 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&); 21 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 /** 62 /**
62 * Creates an SkRemotableFontMgr backed by DirectWrite using the default 63 * Creates an SkRemotableFontMgr backed by DirectWrite using the default
63 * system font collection in the current locale. 64 * system font collection in the current locale.
64 * 65 *
65 * If DirectWrite could not be initialized, will return NULL. 66 * If DirectWrite could not be initialized, will return NULL.
66 */ 67 */
67 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite(); 68 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite();
68 69
69 #endif // SK_BUILD_FOR_WIN 70 #endif // SK_BUILD_FOR_WIN
70 #endif // SkTypeface_win_DEFINED 71 #endif // SkTypeface_win_DEFINED
OLDNEW
« no previous file with comments | « include/gpu/GrTypes.h ('k') | include/private/SkLeanWindows.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698