| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |