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

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

Issue 1488813002: CMake, include/: changes to make fiddle 2.0 better (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change for reed@ Created 5 years 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/ports/SkTypeface_mac.h ('k') | include/utils/SkDebugUtils.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 "SkTypeface.h" 11 #include "SkTypeface.h"
12 12
13 #ifdef SK_BUILD_FOR_WIN
14
13 /** 15 /**
14 * Like the other Typeface create methods, this returns a new reference to the 16 * Like the other Typeface create methods, this returns a new reference to the
15 * corresponding typeface for the specified logfont. The caller is responsible 17 * corresponding typeface for the specified logfont. The caller is responsible
16 * for calling unref() when it is finished. 18 * for calling unref() when it is finished.
17 */ 19 */
18 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&); 20 SK_API SkTypeface* SkCreateTypefaceFromLOGFONT(const LOGFONT&);
19 21
20 /** 22 /**
21 * Copy the LOGFONT associated with this typeface into the lf parameter. Note 23 * Copy the LOGFONT associated with this typeface into the lf parameter. Note
22 * that the lfHeight will need to be set afterwards, since the typeface does 24 * that the lfHeight will need to be set afterwards, since the typeface does
(...skipping 28 matching lines...) Expand all
51 SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr*); 53 SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr*);
52 54
53 /** 55 /**
54 * Creates an SkRemotableFontMgr backed by DirectWrite using the default 56 * Creates an SkRemotableFontMgr backed by DirectWrite using the default
55 * system font collection in the current locale. 57 * system font collection in the current locale.
56 * 58 *
57 * If DirectWrite could not be initialized, will return NULL. 59 * If DirectWrite could not be initialized, will return NULL.
58 */ 60 */
59 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite(); 61 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite();
60 62
61 #endif 63 #endif // SK_BUILD_FOR_WIN
64 #endif // SkTypeface_win_DEFINED
OLDNEW
« no previous file with comments | « include/ports/SkTypeface_mac.h ('k') | include/utils/SkDebugUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698